Remove references to read_mac_secret and write_mac_secret

They are no longer used and can be removed.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19586)
This commit is contained in:
Matt Caswell 2022-11-01 15:54:30 +00:00 committed by Hugo Landau
parent b83eac48ed
commit 1e42708e17
2 changed files with 0 additions and 6 deletions

View File

@ -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];

View File

@ -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