From c50ce859187cabecee5470a95a51c35bf73d3c47 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> 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 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 <openssl/dh.h> #include <openssl/err.h> #include <openssl/md5.h> +#include <openssl/conf.h> #else #include <rand.h> #include <x509v3.h> @@ -740,6 +741,7 @@ int Curl_ossl_init(void) return 0; OpenSSL_add_all_algorithms(); + OPENSSL_config(NULL); return 1; } -- GitLab