aboutsummaryrefslogtreecommitdiff
path: root/proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.c')
-rw-r--r--proxy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proxy.c b/proxy.c
index 99fd842..87791de 100644
--- a/proxy.c
+++ b/proxy.c
@@ -292,6 +292,9 @@ proxy_init(struct client *c)
if ((conf = tls_config_new()) == NULL)
return -1;
+ if (p->noverifyname)
+ tls_config_insecure_noverifyname(conf);
+
/* TODO: tls_config_set_protocols here */
tls_config_insecure_noverifycert(conf);