git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff2c417
)
Correctly close the server side of TLS when forking for delivery.
author
Tony Finch
<dot@dotat.at>
Tue, 5 Nov 2013 12:18:02 +0000
(12:18 +0000)
committer
Tony Finch
<dot@dotat.at>
Tue, 5 Nov 2013 12:18:02 +0000
(12:18 +0000)
src/src/daemon.c
patch
|
blob
|
history
src/src/exim.c
patch
|
blob
|
history
diff --git
a/src/src/daemon.c
b/src/src/daemon.c
index 3467f14a7eb11fce98cfae790cec3ca815d767f8..8e61dcf87a3c15ee383cc903b16cfcf7d455d9e6 100644
(file)
--- 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(
FALS
E, FALSE);
+ tls_close(
TRU
E, 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 a715c0b3981ed709493480652f200bb694e6a5b9..856e655710164f44c5a29b662b56de78b8a2d68c 100644
(file)
--- 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(
FALS
E, FALSE); /* Shut down the TLS library */
+ tls_close(
TRU
E, FALSE); /* Shut down the TLS library */
#endif
(void)close(fileno(smtp_in));
(void)close(fileno(smtp_out));