summaryrefslogtreecommitdiff
path: root/lib/record.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/record.c')
-rw-r--r--lib/record.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/record.c b/lib/record.c
index af993fe6e5..faf53f5625 100644
--- a/lib/record.c
+++ b/lib/record.c
@@ -367,6 +367,7 @@ copy_record_version(gnutls_session_t session,
lver = get_version(session);
if (session->internals.initial_negotiation_completed ||
htype != GNUTLS_HANDSHAKE_CLIENT_HELLO ||
+ (session->internals.hsk_flags & HSK_HRR_RECEIVED) ||
session->internals.default_record_version[0] == 0) {
if (unlikely(lver == NULL))