From cae43a10cbb8cce2a6ea449c69a70c59e803408b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 26 Apr 2015 17:26:31 +0200 Subject: [PATCH] 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 --- lib/vtls/openssl.c | 2 ++ 1 file changed, 2 insertions(+) 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