TLS: move from SUPPORT_TLS to DISABLE_TLS macro for the build
[exim.git] / src / src / daemon.c
index cf5e09201fb8223e514b4d542d0fdc4fb4b879fe..0b4d347b94a88687e4314b7c5af1a463d776618a 100644 (file)
@@ -645,7 +645,7 @@ if (pid == 0)
         /* Don't ever molest the parent's SSL connection, but do clean up
         the data structures if necessary. */
 
-#ifdef SUPPORT_TLS
+#ifndef DISABLE_TLS
         tls_close(NULL, TLS_NO_SHUTDOWN);
 #endif
 
@@ -1985,7 +1985,7 @@ for (;;)
     handle_ending_processes();
     errno = select_errno;
 
-#ifdef SUPPORT_TLS
+#ifndef DISABLE_TLS
     /* Create or rotate any required keys */
     tls_daemon_init();
 #endif