Accepting request 66602 from home:elvigia:branches:devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/66602 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=44
This commit is contained in:
committed by
Git OBS Bridge
parent
64df61db69
commit
d36d6addd8
16
curl-no-sslv2.patch
Normal file
16
curl-no-sslv2.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
--- lib/ssluse.c.orig
|
||||
+++ lib/ssluse.c
|
||||
@@ -1449,8 +1449,13 @@ ossl_connect_step1(struct connectdata *c
|
||||
use_sni(TRUE);
|
||||
break;
|
||||
case CURL_SSLVERSION_SSLv2:
|
||||
+#ifdef OPENSSL_NO_SSL2
|
||||
+ failf(data, "openSSL was compiled without SSLv2 support");
|
||||
+ return CURLE_SSL_CONNECT_ERROR;
|
||||
+#else
|
||||
req_method = SSLv2_client_method();
|
||||
use_sni(FALSE);
|
||||
+#endif
|
||||
break;
|
||||
case CURL_SSLVERSION_SSLv3:
|
||||
req_method = SSLv3_client_method();
|
Reference in New Issue
Block a user