diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-06-03 18:08:20 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-06-03 22:15:38 +0200 |
commit | c50ce859187cabecee5470a95a51c35bf73d3c47 (patch) | |
tree | ce1ac58d2421bf2ae0d2face4bb65f535e0d02df | |
parent | bbd3dc611ed501edeca72026885bbf85868dd1cf (diff) |
Curl_ossl_init: call OPENSSL_config for initing engines
Bug: http://curl.haxx.se/mail/lib-2014-06/0003.html
Reported-by: Дмитрий Фалько
-rw-r--r-- | docs/INTERNALS | 2 | ||||
-rw-r--r-- | lib/vtls/openssl.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 <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; } |