diff options
author | jsing <> | 2021-10-23 15:02:27 +0000 |
---|---|---|
committer | jsing <> | 2021-10-23 15:02:27 +0000 |
commit | 175c62fce31edd2a92d0fc71e7b74b2440fbe5cc (patch) | |
tree | 144ab5f7a9fa85a7b22cb87744d412ca7681fb8c /src/lib/libssl/t1_enc.c | |
parent | 2e95ac2a54af81b1d4a20ccc90c6efc54570b0db (diff) | |
download | openbsd-175c62fce31edd2a92d0fc71e7b74b2440fbe5cc.tar.gz openbsd-175c62fce31edd2a92d0fc71e7b74b2440fbe5cc.tar.bz2 openbsd-175c62fce31edd2a92d0fc71e7b74b2440fbe5cc.zip |
Mop up enc_read_ctx and read_hash.
These are no longer public, so we can mop them up along with the machinery
needed to set/clear them.
ok beck@ tb@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/t1_enc.c | 4 |
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)) |