aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2014-06-23 13:32:21 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-06-23 13:32:21 +0000
commit3335b5e824eecf70055af985b12c60651787fbfc (patch)
tree2d84f9c7c85a037a8989123a8fa768b1c6034e2d /url.c
parentMerge from upstream on 2012-05-22 (diff)
downloadw3m-3335b5e824eecf70055af985b12c60651787fbfc.tar.gz
w3m-3335b5e824eecf70055af985b12c60651787fbfc.zip
Disable ciphers that use keys smaller than 128 bits
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/1325674
Diffstat (limited to '')
-rw-r--r--url.c1
1 files changed, 1 insertions, 0 deletions
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'))