]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/uitest.c
Remove the possibility to disable the UI module entirely
[thirdparty/openssl.git] / test / uitest.c
index 469e2304f8b31f9057675ccc5746d321c32e9b2e..6fef137b02681e29436a9d5cdfe9f99e0685ab5e 100644 (file)
@@ -17,8 +17,7 @@
 /* apps/apps.c depend on these */
 char *default_config_file = NULL;
 
-#ifndef OPENSSL_NO_UI
-# include <openssl/ui.h>
+#include <openssl/ui.h>
 
 /* Old style PEM password callback */
 static int test_pem_password_cb(char *buf, int size, int rwflag, void *userdata)
@@ -89,12 +88,8 @@ static int test_new_ui()
     return ok;
 }
 
-#endif
-
 void register_tests(void)
 {
-#ifndef OPENSSL_NO_UI
     ADD_TEST(test_old);
     ADD_TEST(test_new_ui);
-#endif
 }