summaryrefslogtreecommitdiff
path: root/www/amaya
diff options
context:
space:
mode:
Diffstat (limited to 'www/amaya')
-rw-r--r--www/amaya/patches/patch-libwww_Library_src_SSL_HTSSL.c14
-rw-r--r--www/amaya/patches/patch-libwww_Library_src_SSL_HTSSL.h12
2 files changed, 26 insertions, 0 deletions
diff --git a/www/amaya/patches/patch-libwww_Library_src_SSL_HTSSL.c b/www/amaya/patches/patch-libwww_Library_src_SSL_HTSSL.c
new file mode 100644
index 00000000000..dd8a4c8cffc
--- /dev/null
+++ b/www/amaya/patches/patch-libwww_Library_src_SSL_HTSSL.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-libwww_Library_src_SSL_HTSSL.c,v 1.1 2016/04/03 12:44:13 joerg Exp $
+
+--- libwww/Library/src/SSL/HTSSL.c.orig 2016-04-02 21:54:25.281411017 +0000
++++ libwww/Library/src/SSL/HTSSL.c
+@@ -214,9 +214,6 @@ PUBLIC BOOL HTSSL_init (void)
+
+ /* select the protocol method */
+ switch (ssl_prot_method) {
+- case HTSSL_V2:
+- meth = SSLv2_client_method();
+- break;
+ case HTSSL_V3:
+ meth = SSLv3_client_method();
+ break;
diff --git a/www/amaya/patches/patch-libwww_Library_src_SSL_HTSSL.h b/www/amaya/patches/patch-libwww_Library_src_SSL_HTSSL.h
new file mode 100644
index 00000000000..ef262fb5fbe
--- /dev/null
+++ b/www/amaya/patches/patch-libwww_Library_src_SSL_HTSSL.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-libwww_Library_src_SSL_HTSSL.h,v 1.1 2016/04/03 12:44:13 joerg Exp $
+
+--- libwww/Library/src/SSL/HTSSL.h.orig 2016-04-02 21:54:45.665075537 +0000
++++ libwww/Library/src/SSL/HTSSL.h
+@@ -46,7 +46,6 @@ highest available protocol (TLSv1 in thi
+ */
+
+ typedef enum _HTSSL_PROTOCOL {
+- HTSSL_V2 = 0,
+ HTSSL_V3,
+ HTSSL_V23, /* Brian Hawley: the SSLv23 method tries
+ SSLv3/TLSv1 but can fall back to SSLV2 */