summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-09 17:07:41 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-09 17:07:41 +0200
commit06c06ac1d11f571a20d81586360ca3ab65a47960 (patch)
tree844090adba3356b863760a61f73d01f319025c2c
parent7f46d95ee4aa331319b39665acbe3e8915be1d06 (diff)
downloadgnutls-06c06ac1d11f571a20d81586360ca3ab65a47960.tar.gz
Do not call the user_hello_func multiple times when performing ticket resumption.
-rw-r--r--lib/gnutls_handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c
index 53c21367ba..c2ed3d065a 100644
--- a/lib/gnutls_handshake.c
+++ b/lib/gnutls_handshake.c
@@ -621,7 +621,7 @@ _gnutls_read_client_hello (gnutls_session_t session, uint8_t * data,
resume_copy_required_values (session);
- return _gnutls_user_hello_func (session, adv_version);
+ return 0;
}
/* select an appropriate cipher suite