summaryrefslogtreecommitdiff
path: root/lib/state.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-29 10:10:48 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:35 +0100
commit0acb5e17686fb6261f6129391aa7f81cc959114a (patch)
treebf5f8da7b0de35ad2d1c7a7cc8372c52dd294f28 /lib/state.c
parent344633626c9c497a61d975f22f83f227934b4c21 (diff)
downloadgnutls-0acb5e17686fb6261f6129391aa7f81cc959114a.tar.gz
handshake: accept hello retry request in client side
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/state.c')
-rw-r--r--lib/state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/state.c b/lib/state.c
index 3d45f4f566..f25d047d8f 100644
--- a/lib/state.c
+++ b/lib/state.c
@@ -224,6 +224,8 @@ static void handshake_internal_state_clear1(gnutls_session_t session)
session->internals.cand_dh_group = 0;
session->internals.hsk_flags = 0;
+ session->internals.hrr_cs[0] = CS_INVALID_MAJOR;
+ session->internals.hrr_cs[1] = CS_INVALID_MINOR;
}
/* This function will clear all the variables in internals