Fix non-TLS build. Detection and fix by Todd Lyons.
authorJeremy Harris <jgh146exb@wizmail.org>
Wed, 9 May 2012 17:50:08 +0000 (18:50 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Wed, 9 May 2012 17:50:08 +0000 (18:50 +0100)
src/src/transports/smtp.c

index 4db67f8..6ec94d5 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