aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-06-03 18:08:20 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-06-03 22:15:38 +0200
commitc50ce859187cabecee5470a95a51c35bf73d3c47 (patch)
treece1ac58d2421bf2ae0d2face4bb65f535e0d02df /lib/vtls
parentbbd3dc611ed501edeca72026885bbf85868dd1cf (diff)
Curl_ossl_init: call OPENSSL_config for initing engines
Bug: http://curl.haxx.se/mail/lib-2014-06/0003.html Reported-by: Дмитрий Фалько
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/openssl.c2
1 files changed, 2 insertions, 0 deletions
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;
}