summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/daemon.c2
-rw-r--r--src/src/exim.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c
index 3467f14a7..8e61dcf87 100644
--- a/src/src/daemon.c
+++ b/src/src/daemon.c
@@ -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. */
diff --git a/src/src/exim.c b/src/src/exim.c
index a715c0b39..856e65571 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -526,7 +526,7 @@ close_unwanted(void)
if (smtp_input)
{
#ifdef SUPPORT_TLS
- tls_close(FALSE, FALSE); /* Shut down the TLS library */
+ tls_close(TRUE, FALSE); /* Shut down the TLS library */
#endif
(void)close(fileno(smtp_in));
(void)close(fileno(smtp_out));