On Mon, 2 Jun 2014, Дмитрий Фалько wrote:

I looked at OpenSSL sources and fount that OpenSSL_config(NULL) uses  CONF_modules_load_file(NULL, NULL, CONF_MFLAGS_DEFAULT_SECTION|CONF_MFLAGS_IGNORE_MISSING_FILE) so do not see any difference.

Hm, ok. I'm tempted to just do this patch below, is that what makes things work for you?

diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 0e9c8f0..1cf515f 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -738,10 +738,11 @@ int Curl_ossl_init(void)
   /* Init the global ciphers and digests */
   if(!SSLeay_add_ssl_algorithms())
     return 0;

   OpenSSL_add_all_algorithms();
+  OpenSSL_config(NULL);

   return 1;
 }

 #endif /* USE_SSLEAY */


--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to