git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TLS: rework client-side use with an explicit context rather than a global
[exim.git]
/
src
/
src
/
exim.c
diff --git
a/src/src/exim.c
b/src/src/exim.c
index 58c2dc9af95ca08f2b3c0275a4e29007affede49..2b4ecbc66516ad4cafaf83ce119539977723b4b9 100644
(file)
--- a/
src/src/exim.c
+++ b/
src/src/exim.c
@@
-550,9
+550,9
@@
close_unwanted(void)
{
if (smtp_input)
{
{
if (smtp_input)
{
-
#ifdef SUPPORT_TLS
- tls_close(
TRUE
, TLS_NO_SHUTDOWN); /* Shut down the TLS library */
-
#endif
+#ifdef SUPPORT_TLS
+ tls_close(
NULL
, TLS_NO_SHUTDOWN); /* Shut down the TLS library */
+#endif
(void)close(fileno(smtp_in));
(void)close(fileno(smtp_out));
smtp_in = NULL;
(void)close(fileno(smtp_in));
(void)close(fileno(smtp_out));
smtp_in = NULL;