aboutsummaryrefslogtreecommitdiffstats
path: root/apps/apps.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/apps.h')
-rw-r--r--apps/apps.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/apps.h b/apps/apps.h
index 7fbd41769b..7cf4bf135d 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -123,16 +123,18 @@ extern BIO *bio_err;
# ifdef _O_BINARY
# define apps_startup() \
_fmode=_O_BINARY; do_pipe_sig(); CRYPTO_malloc_init(); \
- OpenSSL_add_all_algorithms(); ENGINE_load_builtin_engines()
+ OpenSSL_add_all_algorithms(); ENGINE_load_builtin_engines(); \
+ setup_ui_method();
# else
# define apps_startup() \
_fmode=O_BINARY; do_pipe_sig(); CRYPTO_malloc_init(); \
- OpenSSL_add_all_algorithms(); ENGINE_load_builtin_engines()
+ OpenSSL_add_all_algorithms(); ENGINE_load_builtin_engines(); \
+ setup_ui_method();
# endif
# else
# define apps_startup() \
do_pipe_sig(); OpenSSL_add_all_algorithms(); \
- ENGINE_load_builtin_engines()
+ ENGINE_load_builtin_engines(); setup_ui_method();
# endif
#endif
@@ -152,6 +154,8 @@ typedef struct pw_cb_data
int password_callback(char *buf, int bufsiz, int verify,
PW_CB_DATA *cb_data);
+int setup_ui_method();
+
int should_retry(int i);
int args_from_file(char *file, int *argc, char **argv[]);
int str2fmt(char *s);