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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/t1_enc.c b/src/lib/libssl/t1_enc.c
index 0ddd52b530..613eb4cf18 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.136 2021/03/29 16:19:15 jsing Exp $ */ 1/* $OpenBSD: t1_enc.c,v 1.137 2021/04/19 17:03:39 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 *
@@ -338,7 +338,7 @@ tls1_change_cipher_state(SSL *s, int which)
338 iv_len = EVP_CIPHER_iv_length(cipher); 338 iv_len = EVP_CIPHER_iv_length(cipher);
339 } 339 }
340 340
341 mac_secret_size = S3I(s)->tmp.new_mac_secret_size; 341 mac_secret_size = S3I(s)->hs.tls12.mac_secret_size;
342 342
343 key_block = S3I(s)->hs.tls12.key_block; 343 key_block = S3I(s)->hs.tls12.key_block;
344 client_write_mac_secret = key_block; 344 client_write_mac_secret = key_block;
@@ -426,7 +426,7 @@ tls1_setup_key_block(SSL *s)
426 426
427 S3I(s)->tmp.new_aead = aead; 427 S3I(s)->tmp.new_aead = aead;
428 S3I(s)->tmp.new_sym_enc = cipher; 428 S3I(s)->tmp.new_sym_enc = cipher;
429 S3I(s)->tmp.new_mac_secret_size = mac_secret_size; 429 S3I(s)->hs.tls12.mac_secret_size = mac_secret_size;
430 430
431 tls12_record_layer_set_aead(s->internal->rl, aead); 431 tls12_record_layer_set_aead(s->internal->rl, aead);
432 tls12_record_layer_set_cipher_hash(s->internal->rl, cipher, 432 tls12_record_layer_set_cipher_hash(s->internal->rl, cipher,