summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-09 17:07:41 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-08-09 15:52:50 +0200
commitad0fbec878d9c2181f86a578f7e1cde736ae4c43 (patch)
treea0830f2ad8b30b45f3905e1e873cc3290d4b7295
parent342ae6d039b7a4299c5c2fe6c8517e5fa87149dd (diff)
downloadgnutls-ad0fbec878d9c2181f86a578f7e1cde736ae4c43.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 bbabf4ada2..18dafb7721 100644
--- a/lib/gnutls_handshake.c
+++ b/lib/gnutls_handshake.c
@@ -575,7 +575,7 @@ _gnutls_read_client_hello (gnutls_session_t session, opaque * data,
resume_copy_required_values (session);
- return _gnutls_user_hello_func (session, adv_version);
+ return 0;
}
/* select an appropriate cipher suite