projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03bf20a
)
Whoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT
author
Ken Hornstein
<kenh@cmf.nrl.navy.mil>
Fri, 3 Dec 2010 02:04:30 +0000
(21:04 -0500)
committer
Ken Hornstein
<kenh@cmf.nrl.navy.mil>
Fri, 3 Dec 2010 02:04:30 +0000
(21:04 -0500)
mts/smtp/smtp.c
patch
|
blob
|
history
diff --git
a/mts/smtp/smtp.c
b/mts/smtp/smtp.c
index
e6bca9a
..
20fdce5
100644
(file)
--- a/
mts/smtp/smtp.c
+++ b/
mts/smtp/smtp.c
@@
-787,10
+787,12
@@
sm_end (int type)
break;
}
+#ifdef TLS_SUPPORT
if (tls_active) {
SSL_shutdown(ssl);
SSL_free(ssl);
}
+#endif /* TLS_SUPPORT */
if (sm_rfp != NULL) {
alarm (SM_CLOS);