summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2012-05-09 18:50:08 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2012-05-09 18:50:08 +0100
commitd6131a7d9286b507c2a364a56630902d1ba7194c (patch)
tree6a90307a234dd4949c5e7a414adceb0ec316779d /src
parent5b4569757c6dc749c250f065705f65c938bffb2e (diff)
Fix non-TLS build. Detection and fix by Todd Lyons.
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index 4db67f871..6ec94d5da 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -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