From 175c62fce31edd2a92d0fc71e7b74b2440fbe5cc Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 23 Oct 2021 15:02:27 +0000 Subject: 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@ --- src/lib/libssl/tls12_record_layer.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/lib/libssl/tls12_record_layer.c') diff --git a/src/lib/libssl/tls12_record_layer.c b/src/lib/libssl/tls12_record_layer.c index 6d7d8696eb..f7264a17c5 100644 --- a/src/lib/libssl/tls12_record_layer.c +++ b/src/lib/libssl/tls12_record_layer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls12_record_layer.c,v 1.34 2021/08/30 19:12:25 jsing Exp $ */ +/* $OpenBSD: tls12_record_layer.c,v 1.35 2021/10/23 15:02:27 jsing Exp $ */ /* * Copyright (c) 2020 Joel Sing * @@ -355,14 +355,6 @@ tls12_record_layer_clear_write_state(struct tls12_record_layer *rl) rl->write_previous = NULL; } -void -tls12_record_layer_read_cipher_hash(struct tls12_record_layer *rl, - EVP_CIPHER_CTX **cipher, EVP_MD_CTX **hash) -{ - *cipher = rl->read->cipher_ctx; - *hash = rl->read->hash_ctx; -} - void tls12_record_layer_reflect_seq_num(struct tls12_record_layer *rl) { -- cgit v1.2.3-55-g6feb