]> granicus.if.org Git - curl/commitdiff
openssl: assume engine support in 0.9.8 or later
authorRainer Jung <rainer.jung@kippdata.de>
Thu, 13 Sep 2018 07:55:47 +0000 (09:55 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 14 Sep 2018 09:56:28 +0000 (11:56 +0200)
Fixes #2983
Closes #2988

lib/vtls/openssl.c

index a9ba33038577d750064c392afb94a27d91eb0cd0..841239396d12b2e396c7c228489005bc5b7bf747 100644 (file)
@@ -69,7 +69,7 @@
 #include <openssl/ocsp.h>
 #endif
 
-#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) && /* 1.0.0 or later */     \
+#if (OPENSSL_VERSION_NUMBER >= 0x0090800fL) && /* 0.9.8 or later */     \
   !defined(OPENSSL_NO_ENGINE)
 #define USE_OPENSSL_ENGINE
 #include <openssl/engine.h>