Commit c50ce859 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Curl_ossl_init: call OPENSSL_config for initing engines

Bug: http://curl.haxx.se/mail/lib-2014-06/0003.html
Reported-by: Дмитрий Фалько
parent bbd3dc61
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −0
Original line number Diff line number Diff line
@@ -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;
}