From 417bfce49ac0ee6c37bdb83010cd45dc7a0f6196 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 20 May 2014 22:53:48 +0100 Subject: [PATCH] Eliminate one foolish way to break the build --- src/src/tls.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/src/tls.c b/src/src/tls.c index b5ef96595..ff2d20a24 100644 --- a/src/src/tls.c +++ b/src/src/tls.c @@ -196,6 +196,8 @@ modify_variable(US"tls_sni", &dest_tsp->sni); #endif } + +#ifdef SUPPORT_TLS /************************************************ * TLS certificate name operations * ************************************************/ @@ -255,7 +257,7 @@ return list; } -#ifdef EXPERIMENTAL_CERTNAMES +# ifdef EXPERIMENTAL_CERTNAMES /* Compare a domain name with a possibly-wildcarded name. Wildcards are restricted to a single one, as the first element of patterns having at least three dot-separated elements. Case-independent. @@ -328,7 +330,8 @@ else if ((subjdn = tls_cert_subject(cert, NULL))) } return FALSE; } -#endif +# endif /*EXPERIMENTAL_CERTNAMES*/ +#endif /*SUPPORY_TLS*/ /* vi: aw ai sw=2 */ -- 2.25.1