Curl_ossl_init: call OPENSSL_config for initing engines

Bug: http://curl.haxx.se/mail/lib-2014-06/0003.html
Reported-by: Дмитрий Фалько
This commit is contained in:
Daniel Stenberg 2014-06-03 18:08:20 +02:00
parent bbd3dc611e
commit c50ce85918
2 changed files with 3 additions and 1 deletions

View file

@ -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;
}