From: Matt Caswell Date: Tue, 1 Nov 2022 15:54:30 +0000 (+0000) Subject: Remove references to read_mac_secret and write_mac_secret X-Git-Tag: openssl-3.2.0-alpha1~1747 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e42708e175f1453bd12f4632fbc0c61bade4e81;p=thirdparty%2Fopenssl.git Remove references to read_mac_secret and write_mac_secret They are no longer used and can be removed. Reviewed-by: Hugo Landau Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/19586) --- diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index cc1239287c0..50e3b653725 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -1296,10 +1296,6 @@ struct ssl_connection_st { struct { long flags; - size_t read_mac_secret_size; - unsigned char read_mac_secret[EVP_MAX_MD_SIZE]; - size_t write_mac_secret_size; - unsigned char write_mac_secret[EVP_MAX_MD_SIZE]; unsigned char server_random[SSL3_RANDOM_SIZE]; unsigned char client_random[SSL3_RANDOM_SIZE]; diff --git a/ssl/statem/statem_dtls.c b/ssl/statem/statem_dtls.c index 4effc584160..c042830cb18 100644 --- a/ssl/statem/statem_dtls.c +++ b/ssl/statem/statem_dtls.c @@ -990,8 +990,6 @@ static int dtls_get_reassembled_message(SSL_CONNECTION *s, int *errtype, /*- * for these 2 messages, we need to - * ssl->enc_read_ctx re-init - * ssl->s3.read_mac_secret re-init * ssl->session->read_sym_enc assign * ssl->session->read_compression assign * ssl->session->read_hash assign