From: Steve Holme Date: Sat, 28 Sep 2013 16:24:22 +0000 (+0100) Subject: ssluse.c: Fixed compilation warnings when ENGINE not supported X-Git-Tag: curl-7_33_0~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a377fab01596fe9329347160f34c08463dc63334;p=curl ssluse.c: Fixed compilation warnings when ENGINE not supported The function "ssl_ui_reader" was declared but never referenced The function "ssl_ui_writer" was declared but never referenced --- diff --git a/lib/ssluse.c b/lib/ssluse.c index bd9f3d480..4f3c1e15f 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -294,7 +294,7 @@ static int do_file_type(const char *type) return -1; } -#ifdef HAVE_ENGINE_LOAD_FOUR_ARGS +#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ENGINE_LOAD_FOUR_ARGS) /* * Supply default password to the engine user interface conversation. * The password is passed by OpenSSL engine from ENGINE_load_private_key()