]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
corrected issue in client hello verify.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 4 Jul 2013 21:26:50 +0000 (23:26 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 4 Jul 2013 21:26:50 +0000 (23:26 +0200)
lib/gnutls_handshake.c

index e6b8dbfcf802974b9fa1cd0d2f4dd2b5ad8967ae..2a87e45326ae3322338a54a99321d50a75465033 100644 (file)
@@ -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: