From: Nikos Mavrogiannopoulos Date: Thu, 22 May 2014 15:36:46 +0000 (+0200) Subject: Do not call the user_hello_func multiple times when performing ticket resumption. X-Git-Tag: gnutls_3_3_3~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c61cd6dc0a02cf705c217a337a64efe49e74a5f;p=thirdparty%2Fgnutls.git Do not call the user_hello_func multiple times when performing ticket resumption. --- diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c index 8b4222b53a..cec73ffb4d 100644 --- a/lib/gnutls_handshake.c +++ b/lib/gnutls_handshake.c @@ -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