Correctly close the server side of TLS when forking for delivery.
[exim.git] / src / src / daemon.c
index 3467f14a7eb11fce98cfae790cec3ca815d767f8..8e61dcf87a3c15ee383cc903b16cfcf7d455d9e6 100644 (file)
@@ -639,7 +639,7 @@ if (pid == 0)
         the data structures if necessary. */
 
         #ifdef SUPPORT_TLS
-        tls_close(FALSE, FALSE);
+        tls_close(TRUE, FALSE);
         #endif
 
         /* Reset SIGHUP and SIGCHLD in the child in both cases. */