commit 399b5d1673210a63c933022073bf58f8e8d0bfae
parent 407af385f71f4fa0ae54f297e95324b83a08b887
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 7 Jun 2020 14:34:33 +0200
Typo in verification option fix.
Thanks Evil_Bob!
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net.c b/net.c
@@ -178,7 +178,7 @@ net_addssl(net_t *net)
if (strstr(net->options, "tlscertverify=off"))
tls_config_insecure_noverifycert(config);
if (strstr(net->options, "tlsnameverify=off"))
- tls_config_insecure_noverifycert(config);
+ tls_config_insecure_noverifyname(config);
}
if (tls_configure(tls, config) < 0) {