From 03f301e2196d3af6b062494c0cc6c9eb0e0af8b1 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sun, 21 Feb 2021 12:03:04 +0900 Subject: Add eNULL to ssl_cipher when -insecure --- doc/w3m.1 | 2 +- main.c | 2 +- 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 -- cgit v1.2.3