Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Unresolved external symbol UI_OpenSSL with latest OpenSSL 3.0.0 #4073
I did this
I've built latest Curl master with latest OpenSSL master
I expected the following
Building under UWP using VS2017
I've got following errors:
According to this document https://www.openssl.org/news/changelog.txt
This is what their changelog says about
still possible to disable doesn't mean it is disabled. I just built openssl from git master (again) and then subsequently curl against that lib and it worked just fine with no such linker error:
How are you building your openssl when you get that disabled?
I have no idea what
Do you perhaps get
Seems it's disabled for UWP. From OpenSSL's
@Liastre maybe something like this?
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 @@ -73,11 +73,11 @@ #if (OPENSSL_VERSION_NUMBER >= 0x0090808fL) && !defined(OPENSSL_NO_OCSP) #include <openssl/ocsp.h> #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 #include "warnless.h"
... 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