TLS: introduce USE_OPENSSL as an explicit requirement for the build
[exim.git] / src / src / transports / smtp.c
index 03095b7c79fea36d9409cb5422cda3f71e8537c3..5f610821981d1cb5a08065e46552b80242a74c7e 100644 (file)
@@ -2019,7 +2019,7 @@ tls_out.cipher = NULL;    /* the one we may use for this transport */
 tls_out.ourcert = NULL;
 tls_out.peercert = NULL;
 tls_out.peerdn = NULL;
-#if !defined(DISABLE_TLS) && !defined(USE_GNUTLS)
+#ifdef USE_OPENSSL
 tls_out.sni = NULL;
 #endif
 tls_out.ocsp = OCSP_NOT_REQ;