projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT
[mmh]
/
mts
/
smtp
/
smtp.c
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;
}
break;
}
+#ifdef TLS_SUPPORT
if (tls_active) {
SSL_shutdown(ssl);
SSL_free(ssl);
}
if (tls_active) {
SSL_shutdown(ssl);
SSL_free(ssl);
}
+#endif /* TLS_SUPPORT */
if (sm_rfp != NULL) {
alarm (SM_CLOS);
if (sm_rfp != NULL) {
alarm (SM_CLOS);