The SSL library must be initialized (via global initialization) because
libcurl's SHA256 functions may call SHA256 functions in the SSL library.
Reported-by: Gisle Vanem
Fixescurl#8538
Closes #xxxx
The SSL library must be initialized (via global initialization) because
libcurl's SHA256 functions may call SHA256 functions in the SSL library.
Reported-by: Gisle Vanem
Fixescurl#8538
Closes #xxxx
Compiling and running
unit1610.exe www.curl.se
, caused a crash inside OpenSSL;calling a func-ptr
c_set_error_mark
which is NULL:Also some context is not set correctly and the
filename == NULL
. But AFAICS, OpenSSL would then use somedefault
openssl.conf
file (?)So the question is whether this is a mis-use of OpenSSL in the unit-tests, a flaw in how my OpenSSL is built
or simply a bug in OpenSSL itself.
But if I patch it like this:
there is no crash
The text was updated successfully, but these errors were encountered: