summaryrefslogtreecommitdiff
path: root/src/stls/stls_s6tlsd.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-11-26 00:02:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-11-26 00:02:25 +0000
commitc58015ae2e8e7dfe49b8158eaffca6c11597373f (patch)
tree960acdce99e5824f66b110c0bebee3a7a69eccd2 /src/stls/stls_s6tlsd.c
parentcb31c5e82982447c5036ace732feac15b8042eac (diff)
downloads6-networking-c58015ae2e8e7dfe49b8158eaffca6c11597373f.tar.xz
Usability fixes for TLS
Diffstat (limited to 'src/stls/stls_s6tlsd.c')
-rw-r--r--src/stls/stls_s6tlsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stls/stls_s6tlsd.c b/src/stls/stls_s6tlsd.c
index dcee5f4..61b1343 100644
--- a/src/stls/stls_s6tlsd.c
+++ b/src/stls/stls_s6tlsd.c
@@ -60,7 +60,7 @@ int stls_s6tlsd (char const *const *argv, char const *const *envp, tain_t const
diecfg(cfg, "tls_config_set_ecdhecurve") ;
if (preoptions & 1) tls_config_verify_client(cfg) ;
- else tls_config_verify_client_optional(cfg) ;
+ else tls_config_insecure_noverifycert(cfg) ;
tls_config_set_protocols(cfg, TLS_PROTOCOLS_DEFAULT) ;
tls_config_prefer_ciphers_server(cfg) ;