summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-05-20 22:53:48 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-05-21 16:07:27 +0100
commit417bfce49ac0ee6c37bdb83010cd45dc7a0f6196 (patch)
tree76dfaaab4b2be9eaa15edff05aa16ff64d8281c3
parent4d832da12166a61882f951276d76e12738ad11a0 (diff)
Eliminate one foolish way to break the build
-rw-r--r--src/src/tls.c7
1 files 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
*/