aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-26 17:26:31 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-04-26 17:26:31 +0200
commitcae43a10cbb8cce2a6ea449c69a70c59e803408b (patch)
treeeb2f2e35ba4bef8fff2e00685ae7f24d6bdd1bfa /lib
parentaa8f613e98c21f70cfa34f0756be24eee47b0647 (diff)
Curl_ossl_init: load builtin modules
To have engine modules work, we must tell openssl to load builtin modules first. Bug: https://github.com/bagder/curl/pull/206
Diffstat (limited to 'lib')
-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 b4c33d772..594a2eec2 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -751,6 +751,8 @@ static char *SSL_strerror(unsigned long error, char *buf, size_t size)
*/
int Curl_ossl_init(void)
{
+ OPENSSL_load_builtin_modules();
+
#ifdef HAVE_ENGINE_LOAD_BUILTIN_ENGINES
ENGINE_load_builtin_engines();
#endif