curl-library
Re[3]: known bug #83
Date: Wed, 04 Jun 2014 11:34:03 +0400
Sorry for individual answer.
Yes, it work for me, but you must call OPENSSL_config(NULL) not OpenSSL_config(NULL), more info
here https://www.openssl.org/docs/crypto/OPENSSL_config.html
Bellow correct patch.
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 68c1067..20adf02 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -740,6 +740,7 @@ int Curl_ossl_init(void)
return 0;
OpenSSL_add_all_algorithms();
+ OPENSSL_config(NULL);
return 1;
}
--
1.7.9.5
Tue, 3 Jun 2014 18:03:38 +0200 (CEST) от Daniel Stenberg <daniel_at_haxx.se>:
>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
С уважением,
Дмитрий Фалько
dfalko89_at_mail.ru
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-06-04