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 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