Skip to content
Permalink
Browse files

openssl: disable engine if OPENSSL_NO_UI_CONSOLE is defined

... 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
Closes #4077
  • Loading branch information...
bagder committed Jun 25, 2019
1 parent 8b159d1 commit c40eb3220cf73323aef6e49f8ab75b79cc435008
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit c40eb32

Please sign in to comment.
You can’t perform that action at this time.