-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unresolved external symbol UI_OpenSSL with latest OpenSSL 3.0.0 #4073
Comments
I'm puzzled. 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'm using build steps according the description for windows uwp:
It might be I missed some flags |
I have no idea what Do you perhaps get |
Seems it's disabled for UWP. From OpenSSL's
|
Hey @gvanem ah I see now, thanks. I found original pull-request discussion, there no any clue why it's been disabled. I'll try to rebuild openssl with enabled |
@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" |
@Liastre, presumably since there are no |
... 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
I did this
I've built latest Curl master with latest OpenSSL master
I expected the following
Successful build
curl/libcurl version
7.65.2-DEV
operating system
Building under UWP using VS2017
details
I've got following errors:
According to this document https://www.openssl.org/news/changelog.txt
UI_OpenSSL()
were deprecated and disabled, not sure if suggestedUI_null()
is safe to use withUI_method_get_reader
Usage of
UI_OpenSSL()
detected herecurl/lib/vtls/openssl.c
Line 578 in 6c2b7d4
curl/lib/vtls/openssl.c
Line 596 in 6c2b7d4
The text was updated successfully, but these errors were encountered: