From cd480380fa914af0a7a9af866da8d61e867fe5d9 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Sun, 6 Dec 2015 15:55:41 -0500 Subject: [PATCH] Remove unused fields from SSL3_STATE. These have been unused since we unified everything on EVP_AEAD. I must have missed them when clearing out dead state. This shaves 136 bytes of per-connection state. Change-Id: I705f8de389fd34ab4524554ee9e4b1d6be198994 Reviewed-on: https://boringssl-review.googlesource.com/6645 Reviewed-by: Adam Langley --- include/openssl/ssl.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index b89d6221..65fc56ef 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -3913,11 +3913,7 @@ typedef struct ssl3_buffer_st { typedef struct ssl3_state_st { uint8_t read_sequence[8]; - int read_mac_secret_size; - uint8_t read_mac_secret[EVP_MAX_MD_SIZE]; uint8_t write_sequence[8]; - int write_mac_secret_size; - uint8_t write_mac_secret[EVP_MAX_MD_SIZE]; uint8_t server_random[SSL3_RANDOM_SIZE]; uint8_t client_random[SSL3_RANDOM_SIZE];