1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

@ -33,7 +33,7 @@ Portability
want it to remain functional and buildable with these and later versions
(older versions may still work but is not what we work hard to maintain):
OpenSSL 0.9.6
OpenSSL 0.9.7
GnuTLS 1.2
zlib 1.1.4
libssh2 0.16

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