aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2014-06-23 14:06:17 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-06-23 14:06:17 +0000
commit7d9af1f4b9c8c1fd5b4377daaad89c72a89dd5c9 (patch)
treef350382b0fa54983c5f1feb277e1a9d88d080554 /url.c
parentMerge branch 'bug/changelog' (diff)
parentDisable ciphers that use keys smaller than 128 bits (diff)
downloadw3m-7d9af1f4b9c8c1fd5b4377daaad89c72a89dd5c9.tar.gz
w3m-7d9af1f4b9c8c1fd5b4377daaad89c72a89dd5c9.zip
Merge branch 'bug/weak-ciphers'
Diffstat (limited to 'url.c')
-rw-r--r--url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/url.c b/url.c
index fda9082..10089ca 100644
--- a/url.c
+++ b/url.c
@@ -327,6 +327,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'))