summaryrefslogtreecommitdiff
path: root/www/lynx/patches/patch-WWW_Library_Implementation_HTTP.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/lynx/patches/patch-WWW_Library_Implementation_HTTP.h')
-rw-r--r--www/lynx/patches/patch-WWW_Library_Implementation_HTTP.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/lynx/patches/patch-WWW_Library_Implementation_HTTP.h b/www/lynx/patches/patch-WWW_Library_Implementation_HTTP.h
new file mode 100644
index 00000000000..cff5f571065
--- /dev/null
+++ b/www/lynx/patches/patch-WWW_Library_Implementation_HTTP.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-WWW_Library_Implementation_HTTP.h,v 1.1.2.2 2016/12/28 16:37:56 bsiegert Exp $
+
+Drop the use of weak ciphers
+https://hg.java.net/hg/solaris-userland~gate/file/bc5351dcb9ac/components/lynx/patches/03-weak-ciphers-by-default.patch
+
+--- WWW/Library/Implementation/HTTP.h.orig 2016-12-21 03:04:50.000000000 +0000
++++ WWW/Library/Implementation/HTTP.h
+@@ -21,6 +21,8 @@ extern "C" {
+ GLOBALREF HTProtocol HTTPS;
+ #endif /* GLOBALREF_IS_MACRO */
+
++#define DEFAULT_CIPHER_SELECTION "ALL!EXPORT!EXPORT40!EXPORT56!aNULL!LOW!RC4"
++
+ #define URL_GET_METHOD 1
+ #define URL_POST_METHOD 2
+ #define URL_MAIL_METHOD 3