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 <agl@google.com>
This commit is contained in:
David Benjamin 2015-12-06 15:55:41 -05:00 committed by Adam Langley
parent 7fc010014c
commit cd480380fa

View File

@ -3913,11 +3913,7 @@ typedef struct ssl3_buffer_st {
typedef struct ssl3_state_st { typedef struct ssl3_state_st {
uint8_t read_sequence[8]; uint8_t read_sequence[8];
int read_mac_secret_size;
uint8_t read_mac_secret[EVP_MAX_MD_SIZE];
uint8_t write_sequence[8]; 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 server_random[SSL3_RANDOM_SIZE];
uint8_t client_random[SSL3_RANDOM_SIZE]; uint8_t client_random[SSL3_RANDOM_SIZE];