Eliminate one foolish way to break the build
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 20 May 2014 21:53:48 +0000 (22:53 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Wed, 21 May 2014 15:07:27 +0000 (16:07 +0100)
src/src/tls.c

index b5ef965951ff3634471f7777438ebf2052877481..ff2d20a24bcc139f5f20257aec282a52a8cad470 100644 (file)
@@ -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
 */