diff options
author | Omar Polo <op@omarpolo.com> | 2022-01-01 18:50:10 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-01-01 18:50:10 +0000 |
commit | 5128c0b0e3b51737783c4c68c9e34a76ec8c8b0e (patch) | |
tree | 00ad1dc18d6ad0e51242f698fdf75999fe25f6c1 /proxy.c | |
parent | 7bdcc91ec70ddde092ac5d7b4f75d54915e7b221 (diff) |
add `verifyname' option for `proxy' rule
Diffstat (limited to 'proxy.c')
-rw-r--r-- | proxy.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |