wget/wget-1.12-nosslv2.patch

17 lines
432 B
Diff
Raw Normal View History

=== 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;