ssluse.c: Fixed compilation warnings when ENGINE not supported
authorSteve Holme <steve_holme@hotmail.com>
Sat, 28 Sep 2013 16:24:22 +0000 (17:24 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 28 Sep 2013 16:24:22 +0000 (17:24 +0100)
The function "ssl_ui_reader" was declared but never referenced
The function "ssl_ui_writer" was declared but never referenced

lib/ssluse.c

index bd9f3d4..4f3c1e1 100644 (file)
@@ -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()