From: Ben Laurie Date: Mon, 18 Apr 2016 09:44:42 +0000 (+0100) Subject: Fix no-engine no-ui. X-Git-Tag: OpenSSL_1_1_0-pre6~1047 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e93836b95e120a64d005a99f4bf0dde3a4d2ef3e;p=openssl Fix no-engine no-ui. Reviewed-by: Richard Levitte --- diff --git a/apps/apps.c b/apps/apps.c index 8cf3b59ee8..a80a07e3d5 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -156,7 +156,9 @@ typedef struct { unsigned long mask; } NAME_EX_TBL; +#if !defined(OPENSSL_NO_UI) || !defined(OPENSSL_NO_ENGINE) static UI_METHOD *ui_method = NULL; +#endif static int set_table_opts(unsigned long *flags, const char *arg, const NAME_EX_TBL * in_tbl);