From c50ce859187cabecee5470a95a51c35bf73d3c47 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Jun 2014 18:08:20 +0200 Subject: [PATCH] Curl_ossl_init: call OPENSSL_config for initing engines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: http://curl.haxx.se/mail/lib-2014-06/0003.html Reported-by: Дмитрий Фалько --- docs/INTERNALS | 2 +- lib/vtls/openssl.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/INTERNALS b/docs/INTERNALS index 05fa75565..6bf3c92cd 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 0e9c8f0bd..c4896008c 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; }