From: Ken Hornstein Date: Fri, 3 Dec 2010 02:04:30 +0000 (-0500) Subject: Whoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT X-Git-Tag: mmh-start~23 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=bd7d13ad3cdf433d73849b3bb847eaec2f1396ba Whoops, forgot to bracket the calls for TLS shutdown with a #ifdef TLS_SUPPORT --- 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);