Add eNULL to ssl_cipher when -insecure

This commit is contained in:
Tatsuya Kinoshita
2021-02-21 12:03:04 +09:00
parent fed27f501b
commit 03f301e219
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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