From bd7d13ad3cdf433d73849b3bb847eaec2f1396ba Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Thu, 2 Dec 2010 21:04:30 -0500 Subject: [PATCH] Whoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT --- mts/smtp/smtp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index e6bca9a..20fdce5 100644 --- 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); -- 1.7.10.4