diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-21 18:08:57 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-31 13:32:01 +0200 |
commit | 923b1857decf4440b13b82f2aa7cf1189327d1a3 (patch) | |
tree | 6b6a6387610cdad0b7a1bdbb0b23da12ac80bc94 /apps/openssl.c | |
parent | 4de9913b8c2a11f17258a2ad5e357046fd221360 (diff) | |
download | openssl-923b1857decf4440b13b82f2aa7cf1189327d1a3.tar.gz |
Fix "no-ui" configuration
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/openssl.c')
-rw-r--r-- | apps/openssl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/openssl.c b/apps/openssl.c index 166c7a1e45..b810ecf8b8 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -176,14 +176,18 @@ static int apps_startup() | OPENSSL_INIT_LOAD_CONFIG, NULL)) return 0; +#ifndef OPENSSL_NO_UI setup_ui_method(); +#endif return 1; } static void apps_shutdown() { +#ifndef OPENSSL_NO_UI destroy_ui_method(); +#endif } static char *make_config_name() |