aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-09-28 17:24:22 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-09-28 17:24:22 +0100
commita377fab01596fe9329347160f34c08463dc63334 (patch)
tree35b13791db813194f162034c21ab136142943205 /lib
parent092f33d6bf5bc46da6aeb27b3f993b464a4811cd (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
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()