Fix non-TLS build. Detection and fix by Todd Lyons.
[exim.git] / src / src / transports / smtp.c
index 4db67f871b282f011f814ead27437efc9ef98b80..6ec94d5da45bb0a2fae2369095f6678710d73d14 100644 (file)
@@ -895,7 +895,7 @@ outblock.authenticating = FALSE;
 tls_bits = 0;
 tls_cipher = NULL;
 tls_peerdn = NULL;
-#ifndef USE_GNUTLS
+#if defined(SUPPORT_TLS) && !defined(USE_GNUTLS)
 tls_sni = NULL;
 #endif