diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-04-26 17:26:31 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-04-26 17:26:31 +0200 |
commit | cae43a10cbb8cce2a6ea449c69a70c59e803408b (patch) | |
tree | eb2f2e35ba4bef8fff2e00685ae7f24d6bdd1bfa | |
parent | aa8f613e98c21f70cfa34f0756be24eee47b0647 (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
-rw-r--r-- | lib/vtls/openssl.c | 2 |
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 |