diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-06-25 20:35:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-06-25 20:35:22 +0200 |
commit | dcfdac22e9aa9fa302e24f9b5568bb7beb893191 (patch) | |
tree | 6c9114ab8bae94b18ab112c672ed882251a0dbe2 | |
parent | e4b5dd29874c5746a35e9b3b8c8cfd01ffa4363a (diff) | |
download | curl-bagder/openssl-uwp.tar.gz |
openssl: disable engine if OPENSSL_NO_UI_CONSOLE is definedbagder/openssl-uwp
... since that needs UI_OpenSSL() which isn't provided when OpenSSL is
built with OPENSSL_NO_UI_CONSOLE which happens when OpenSSL is built for
UWP (with "VC-WIN32-UWP").
Reported-by: Vasily Lobaskin
Fixes #4073
-rw-r--r-- | lib/vtls/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index fa6d0201a..3cdcbfeb9 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -75,7 +75,7 @@ #endif #if (OPENSSL_VERSION_NUMBER >= 0x0090700fL) && /* 0.9.7 or later */ \ - !defined(OPENSSL_NO_ENGINE) + !defined(OPENSSL_NO_ENGINE) && !defined(OPENSSL_NO_UI_CONSOLE) #define USE_OPENSSL_ENGINE #include <openssl/engine.h> #endif |