[exim-cvs] Fix non-TLS build. Detection and fix by Todd Lyo…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Fix non-TLS build. Detection and fix by Todd Lyons.
Gitweb: http://git.exim.org/exim.git/commitdiff/d6131a7d9286b507c2a364a56630902d1ba7194c
Commit:     d6131a7d9286b507c2a364a56630902d1ba7194c
Parent:     5b4569757c6dc749c250f065705f65c938bffb2e
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed May 9 18:50:08 2012 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Wed May 9 18:50:08 2012 +0100


    Fix non-TLS build.  Detection and fix by Todd Lyons.
---
 src/src/transports/smtp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index 4db67f8..6ec94d5 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