[exim-cvs] Fix no-TLS bulid

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Asunto: [exim-cvs] Fix no-TLS bulid
Gitweb: https://git.exim.org/exim.git/commitdiff/32c45e8380682c9b60a2f8a36a97049ec679bde4
Commit:     32c45e8380682c9b60a2f8a36a97049ec679bde4
Parent:     d083e3f2af9baf1910a69c1cc4a06a26be99d40c
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jul 18 17:34:31 2021 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jul 18 17:34:31 2021 +0100


    Fix no-TLS bulid


    Broken-by: c4b4086235
---
 src/src/readconf.c | 2 ++
 1 file changed, 2 insertions(+)


diff --git a/src/src/readconf.c b/src/src/readconf.c
index a1eafb2..987f9fa 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