TLS: move from SUPPORT_TLS to DISABLE_TLS macro for the build
[exim.git] / src / src / transports / smtp.h
index b9e2b0b0209a805fcd5f8ed301399a15b9179df5..5200fcb74db4e1f7c189ad4bc97d99fefeca91f0 100644 (file)
@@ -50,7 +50,7 @@ typedef struct {
   uschar *hosts_pipe_connect;
 #endif
   uschar *hosts_avoid_esmtp;
-#ifdef SUPPORT_TLS
+#ifndef DISABLE_TLS
   uschar *hosts_nopass_tls;
   uschar *hosts_noproxy_tls;
 #endif
@@ -78,11 +78,14 @@ typedef struct {
 #ifdef SUPPORT_SOCKS
   uschar *socks_proxy;
 #endif
-#ifdef SUPPORT_TLS
+#ifndef DISABLE_TLS
   uschar *tls_certificate;
   uschar *tls_crl;
   uschar *tls_privatekey;
   uschar *tls_require_ciphers;
+# ifdef EXPERIMENTAL_TLS_RESUME
+  uschar *tls_resumption_hosts;
+# endif
   uschar *tls_sni;
   uschar *tls_verify_certificates;
   int     tls_dh_min_bits;
@@ -132,8 +135,7 @@ typedef struct {
   BOOL utf8_needed:1;
 #endif
   BOOL dsn_all_lasthop:1;
-#if defined(SUPPORT_TLS) && defined(SUPPORT_DANE)
-  BOOL dane:1;
+#if !defined(DISABLE_TLS) && defined(SUPPORT_DANE)
   BOOL dane_required:1;
 #endif
 #ifdef EXPERIMENTAL_PIPE_CONNECT
@@ -158,7 +160,9 @@ typedef struct {
   uschar *     smtp_greeting;
   uschar *     helo_response;
 #endif
+#ifdef EXPERIMENTAL_PIPE_CONNECT
   ehlo_resp_precis     ehlo_resp;
+#endif
 
   address_item *       first_addr;
   address_item *       next_addr;