summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index b1fedd2d4..4db67f871 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -895,7 +895,9 @@ outblock.authenticating = FALSE;
tls_bits = 0;
tls_cipher = NULL;
tls_peerdn = NULL;
+#ifndef USE_GNUTLS
tls_sni = NULL;
+#endif
/* If an authenticated_sender override has been specified for this transport
instance, expand it. If the expansion is forced to fail, and there was already