]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Do not call the user_hello_func multiple times when performing ticket resumption.
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 22 May 2014 15:36:46 +0000 (17:36 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 22 May 2014 15:36:46 +0000 (17:36 +0200)
lib/gnutls_handshake.c

index 8b4222b53a8b3e5f009cdfcae7dae663fa14c923..cec73ffb4dc399dd5a65230cf7d8181ca9e60bde 100644 (file)
@@ -642,7 +642,7 @@ _gnutls_read_client_hello(gnutls_session_t session, uint8_t * data,
                if (ret < 0)
                        return gnutls_assert_val(ret);
 
-               return _gnutls_user_hello_func(session, adv_version);
+               return 0;
        }
 
        /* select an appropriate cipher suite