Fixed build with newer ssl (factory) OBS-URL: https://build.opensuse.org/request/show/356901 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/w3c-libwww?expand=0&rev=21
14 lines
490 B
Diff
14 lines
490 B
Diff
diff -Nur old/Library/src/SSL/HTSSL.c new/Library/src/SSL/HTSSL.c
|
|
--- old/Library/src/SSL/HTSSL.c 2005-02-27 23:52:38.000000000 +0100
|
|
+++ new/Library/src/SSL/HTSSL.c 2016-01-31 03:30:05.403027243 +0100
|
|
@@ -215,8 +215,7 @@
|
|
/* select the protocol method */
|
|
switch (ssl_prot_method) {
|
|
case HTSSL_V2:
|
|
- meth = SSLv2_client_method();
|
|
- break;
|
|
+ HTTRACE(PROT_TRACE, "SSLv2 should no longer be used, fallback to SSLv3\n");
|
|
case HTSSL_V3:
|
|
meth = SSLv3_client_method();
|
|
break;
|