Fix no-TLS bulid
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 18 Jul 2021 16:34:31 +0000 (17:34 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 18 Jul 2021 16:34:31 +0000 (17:34 +0100)
Broken-by: c4b4086235
src/src/readconf.c

index a1eafb2ecccf93353c2fcd1719f0275dcb27ef76..987f9fab0baa808fe4c9de8b1333dce537876d5e 100644 (file)
@@ -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