From: Jeremy Harris Date: Wed, 9 May 2012 17:50:08 +0000 (+0100) Subject: Fix non-TLS build. Detection and fix by Todd Lyons. X-Git-Tag: exim-4_80_RC1~32 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d6131a7d9286b507c2a364a56630902d1ba7194c;p=exim.git Fix non-TLS build. Detection and fix by Todd Lyons. --- 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