summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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