From: Nikos Mavrogiannopoulos Date: Thu, 4 Jul 2013 21:26:50 +0000 (+0200) Subject: corrected issue in client hello verify. X-Git-Tag: gnutls_3_2_2~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff1abbf6578e2ee3f88a09dc36dbde44ffb56471;p=thirdparty%2Fgnutls.git corrected issue in client hello verify. --- diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c index e6b8dbfcf8..2a87e45326 100644 --- a/lib/gnutls_handshake.c +++ b/lib/gnutls_handshake.c @@ -1423,9 +1423,12 @@ _gnutls_recv_handshake (gnutls_session_t session, goto cleanup; } else - /* Signal our caller we have received a verification cookie - and ClientHello needs to be sent again. */ - ret = 1; + { + /* Signal our caller we have received a verification cookie + and ClientHello needs to be sent again. */ + ret = 1; + goto cleanup; + } break; case GNUTLS_HANDSHAKE_SERVER_HELLO_DONE: