Skip to content

Commit

Permalink
Curl_ossl_init: load builtin modules
Browse files Browse the repository at this point in the history
To have engine modules work, we must tell openssl to load builtin
modules first.

Bug: #206
  • Loading branch information
bagder committed Apr 26, 2015
1 parent aa8f613 commit cae43a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/vtls/openssl.c
Expand Up @@ -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
Expand Down

0 comments on commit cae43a1

Please sign in to comment.