summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-07-18 17:34:31 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-07-18 17:34:31 +0100
commit32c45e8380682c9b60a2f8a36a97049ec679bde4 (patch)
treeb999ce92562653852c45ae474ce50adc3c807718
parentd083e3f2af9baf1910a69c1cc4a06a26be99d40c (diff)
Fix no-TLS bulid
Broken-by: c4b4086235
-rw-r--r--src/src/readconf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/src/readconf.c b/src/src/readconf.c
index a1eafb2ec..987f9fab0 100644
--- a/src/src/readconf.c
+++ b/src/src/readconf.c
@@ -184,7 +184,9 @@ static optionlist optionlist_config[] = {
#ifdef SUPPORT_PROXY
{ "hosts_proxy", opt_stringptr, {&hosts_proxy} },
#endif
+#ifndef DISABLE_TLS
{ "hosts_require_alpn", opt_stringptr, {&hosts_require_alpn} },
+#endif
{ "hosts_require_helo", opt_stringptr, {&hosts_require_helo} },
{ "hosts_treat_as_local", opt_stringptr, {&hosts_treat_as_local} },
#ifdef LOOKUP_IBASE