diff options
Diffstat (limited to 'debian/patches/330_Disable-weak-ciphers.patch')
-rw-r--r-- | debian/patches/330_Disable-weak-ciphers.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/debian/patches/330_Disable-weak-ciphers.patch b/debian/patches/330_Disable-weak-ciphers.patch deleted file mode 100644 index a243c61..0000000 --- a/debian/patches/330_Disable-weak-ciphers.patch +++ /dev/null @@ -1,16 +0,0 @@ -Subject: Disable ciphers that use keys smaller than 128 bits -From: Tatsuya Kinoshita <tats@debian.org> -Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/1325674 - -diff --git a/url.c b/url.c -index ed6062e..e6b51c8 100644 ---- a/url.c -+++ b/url.c -@@ -326,6 +326,7 @@ openSSLHandle(int sock, char *hostname, char **p_cert) - SSL_load_error_strings(); - if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method()))) - goto eend; -+ SSL_CTX_set_cipher_list(ssl_ctx, "DEFAULT:!LOW:!EXP"); - option = SSL_OP_ALL; - if (ssl_forbid_method) { - if (strchr(ssl_forbid_method, '2')) |