From: Daniel Stenberg Date: Tue, 3 Jun 2014 16:08:20 +0000 (+0200) Subject: Curl_ossl_init: call OPENSSL_config for initing engines X-Git-Tag: curl-7_37_1~137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c50ce859187ca;p=thirdparty%2Fcurl.git Curl_ossl_init: call OPENSSL_config for initing engines Bug: http://curl.haxx.se/mail/lib-2014-06/0003.html Reported-by: Дмитрий Фалько --- diff --git a/docs/INTERNALS b/docs/INTERNALS index 05fa755657..6bf3c92cde 100644 --- a/docs/INTERNALS +++ b/docs/INTERNALS @@ -33,7 +33,7 @@ Portability want it to remain functional and buildable with these and later versions (older versions may still work but is not what we work hard to maintain): - OpenSSL 0.9.6 + OpenSSL 0.9.7 GnuTLS 1.2 zlib 1.1.4 libssh2 0.16 diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 0e9c8f0bdd..c4896008c5 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -62,6 +62,7 @@ #include #include #include +#include #else #include #include @@ -740,6 +741,7 @@ int Curl_ossl_init(void) return 0; OpenSSL_add_all_algorithms(); + OPENSSL_config(NULL); return 1; }