X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsmtp%2Fsmtp.c;fp=mts%2Fsmtp%2Fsmtp.c;h=20fdce523cd9bb77ac81ebabd4f8a726616dbac4;hp=e6bca9a9f1338f49d9a2ac6574cf285976a5fed9;hb=bd7d13ad3cdf433d73849b3bb847eaec2f1396ba;hpb=03bf20a885b3953a0385e814ba4e0196b46f6159 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);