wget/wget-1.12-nosslv2.patch
Cristian Rodríguez 655472ef9a Accepting request 87777 from home:elvigia:branches:network:utilities
-  Update nosslv2 patch with the version in upstream
-  Wget now supports SNI (server name indication), patch
   based on a 2 year old fix submitted to upstream list
   that somehow fell through the cracks.

TEST WITH : wget  https://sni.velox.ch/

OBS-URL: https://build.opensuse.org/request/show/87777
OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=13
2011-10-14 14:58:13 +00:00

17 lines
432 B
Diff

=== modified file 'src/openssl.c'
--- src/openssl.c 2011-04-04 14:56:51 +0000
+++ src/openssl.c 2011-04-11 09:08:39 +0000
@@ -186,9 +186,11 @@
case secure_protocol_auto:
meth = SSLv23_client_method ();
break;
+#ifndef OPENSSL_NO_SSL2
case secure_protocol_sslv2:
meth = SSLv2_client_method ();
break;
+#endif
case secure_protocol_sslv3:
meth = SSLv3_client_method ();
break;