summaryrefslogtreecommitdiff
path: root/src/lib/libssl/t1_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/t1_enc.c')
-rw-r--r--src/lib/libssl/t1_enc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/t1_enc.c b/src/lib/libssl/t1_enc.c
index 65e2063398..65abcbdcaf 100644
--- a/src/lib/libssl/t1_enc.c
+++ b/src/lib/libssl/t1_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t1_enc.c,v 1.151 2021/07/01 17:53:39 jsing Exp $ */ 1/* $OpenBSD: t1_enc.c,v 1.152 2021/10/23 15:02:27 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -315,8 +315,6 @@ tls1_change_cipher_state(SSL *s, int is_write)
315 goto err; 315 goto err;
316 if (SSL_is_dtls(s)) 316 if (SSL_is_dtls(s))
317 dtls1_reset_read_seq_numbers(s); 317 dtls1_reset_read_seq_numbers(s);
318 tls12_record_layer_read_cipher_hash(s->internal->rl,
319 &s->enc_read_ctx, &s->read_hash);
320 } else { 318 } else {
321 if (!tls12_record_layer_change_write_cipher_state(s->internal->rl, 319 if (!tls12_record_layer_change_write_cipher_state(s->internal->rl,
322 &mac_key, &key, &iv)) 320 &mac_key, &key, &iv))