summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-04-18 17:28:41 +0200
committerSimon Josefsson <simon@josefsson.org>2008-04-18 17:28:41 +0200
commit08fe3bfac8e12e6154dce6a834cdf838eeac3b05 (patch)
treed3aa517dc33b20db76a810400adadf1fd87c90c0
parentdd70e09818f05efd9dd59593057d24a0291dd422 (diff)
downloadgnutls-08fe3bfac8e12e6154dce6a834cdf838eeac3b05.tar.gz
Don't crash on TLS handshake failures.
Reported by "Marc F. Clemente" <marc@mclemente.net> in Debian BTS #466477. This is related to the 5e5f086e124d8d90829fc8e22f34044161da5f80 fix, this part is necessary too.
-rw-r--r--src/cli.c1
1 files changed, 0 insertions, 1 deletions
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;
}