INN commit: trunk/nnrpd (misc.c)
INN Commit
Russ_Allbery at isc.org
Sat Sep 20 21:44:07 UTC 2008
Date: Saturday, September 20, 2008 @ 14:44:07
Author: iulius
Revision: 8041
Close the connection on STARTTLS failure (during the negotiation).
Modified:
trunk/nnrpd/misc.c
--------+
misc.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: misc.c
===================================================================
--- misc.c 2008-09-20 19:10:34 UTC (rev 8040)
+++ misc.c 2008-09-20 21:44:07 UTC (rev 8041)
@@ -543,8 +543,9 @@
result = tls_start_servertls(0, /* Read. */
1); /* Write. */
if (result == -1) {
- /* No reply because we have already sent NNTP_CONT_STARTTLS. */
- return;
+ /* No reply because we have already sent NNTP_CONT_STARTTLS.
+ * We close the connection. */
+ ExitWithStats(1, false);
}
#ifdef HAVE_SASL
More information about the inn-committers
mailing list