From: Simon Josefsson Date: Fri, 18 Apr 2008 15:28:41 +0000 (+0200) Subject: Don't crash on TLS handshake failures. X-Git-Tag: gnutls_2_3_7~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08fe3bfac8e12e6154dce6a834cdf838eeac3b05;p=thirdparty%2Fgnutls.git Don't crash on TLS handshake failures. Reported by "Marc F. Clemente" in Debian BTS #466477. This is related to the 5e5f086e124d8d90829fc8e22f34044161da5f80 fix, this part is necessary too. --- diff --git a/src/cli.c b/src/cli.c index be8d0cff2e..01b8b9c94b 100644 --- a/src/cli.c +++ b/src/cli.c @@ -756,7 +756,6 @@ after_handshake: if (ret < 0) { fprintf (stderr, "*** Handshake has failed\n"); - socket_bye (&hd); user_term = 1; break; }