aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-02-21 03:03:04 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-02-21 03:03:04 +0000
commit03f301e2196d3af6b062494c0cc6c9eb0e0af8b1 (patch)
tree60d987dc9586b42eef0a39c5256fe99435f931eb
parentMerge pull request #168 from bptato/inlineimages (diff)
downloadw3m-03f301e2196d3af6b062494c0cc6c9eb0e0af8b1.tar.gz
w3m-03f301e2196d3af6b062494c0cc6c9eb0e0af8b1.zip
Add eNULL to ssl_cipher when -insecure
-rw-r--r--doc/w3m.12
-rw-r--r--main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/w3m.1 b/doc/w3m.1
index be5b755..a0324e8 100644
--- a/doc/w3m.1
+++ b/doc/w3m.1
@@ -136,7 +136,7 @@ Corresponds to dns_order=6 in configuration files
.TP
\fB\-insecure\fP
use insecure SSL config options,
-alias for \f(CW-o ssl_cipher=ALL:@SECLEVEL=0 -o ssl_min_version=all
+alias for \f(CW-o ssl_cipher=ALL:eNULL:@SECLEVEL=0 -o ssl_min_version=all
-o ssl_forbid_method= -o ssl_verify_server=0\fP
.SS Text pager options
.TP
diff --git a/main.c b/main.c
index d421b44..09af238 100644
--- a/main.c
+++ b/main.c
@@ -757,7 +757,7 @@ main(int argc, char **argv, char **envp)
displayTitleTerm = argv[i] + 7;
#ifdef USE_SSL
else if (!strcmp("-insecure", argv[i])) {
- set_param_option("ssl_cipher=ALL:@SECLEVEL=0");
+ set_param_option("ssl_cipher=ALL:eNULL:@SECLEVEL=0");
#ifdef SSL_CTX_set_min_proto_version
set_param_option("ssl_min_version=all");
#endif