X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsmtp%2Fsmtp.c;h=470d72de9153289ab2f9da775d55e74880c91f86;hp=e6bca9a9f1338f49d9a2ac6574cf285976a5fed9;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hpb=da304a48a24d7cc7fafae13c994d94ad3d6483f2 diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index e6bca9a..470d72d 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -1,8 +1,6 @@ /* * smtp.c -- nmh SMTP interface * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -787,10 +785,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);