diff --git a/lib/ssluse.c b/lib/ssluse.c index bd9f3d480c..4f3c1e15f6 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()