aboutsummaryrefslogtreecommitdiff
path: root/proxy.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-01-01 19:04:50 +0000
committerOmar Polo <op@omarpolo.com>2022-01-01 19:04:50 +0000
commitc7c8ef448bc8832998606ec217907c7dc66fec6c (patch)
tree2d935588f4ba9c3a4dac7a8cc0f028ea1c6351ee /proxy.c
parent5128c0b0e3b51737783c4c68c9e34a76ec8c8b0e (diff)
add `protocols' option to `proxy' rule
Diffstat (limited to 'proxy.c')
-rw-r--r--proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy.c b/proxy.c
index 87791de..7face97 100644
--- a/proxy.c
+++ b/proxy.c
@@ -295,8 +295,8 @@ proxy_init(struct client *c)
if (p->noverifyname)
tls_config_insecure_noverifyname(conf);
- /* TODO: tls_config_set_protocols here */
tls_config_insecure_noverifycert(conf);
+ tls_config_set_protocols(conf, p->protocols);
if (p->cert != NULL) {
int r;