Add eNULL to ssl_cipher when -insecure
This commit is contained in:
@@ -136,7 +136,7 @@ Corresponds to dns_order=6 in configuration files
|
|||||||
.TP
|
.TP
|
||||||
\fB\-insecure\fP
|
\fB\-insecure\fP
|
||||||
use insecure SSL config options,
|
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
|
-o ssl_forbid_method= -o ssl_verify_server=0\fP
|
||||||
.SS Text pager options
|
.SS Text pager options
|
||||||
.TP
|
.TP
|
||||||
|
|||||||
@@ -757,7 +757,7 @@ main(int argc, char **argv, char **envp)
|
|||||||
displayTitleTerm = argv[i] + 7;
|
displayTitleTerm = argv[i] + 7;
|
||||||
#ifdef USE_SSL
|
#ifdef USE_SSL
|
||||||
else if (!strcmp("-insecure", argv[i])) {
|
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
|
#ifdef SSL_CTX_set_min_proto_version
|
||||||
set_param_option("ssl_min_version=all");
|
set_param_option("ssl_min_version=all");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user