diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl3.h | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h index 8444ccb57d..feaf0f8dd9 100644 --- a/src/lib/libssl/ssl3.h +++ b/src/lib/libssl/ssl3.h | |||
| @@ -232,6 +232,7 @@ extern "C" { | |||
| 232 | 232 | ||
| 233 | #define SSL3_MASTER_SECRET_SIZE 48 | 233 | #define SSL3_MASTER_SECRET_SIZE 48 | 
| 234 | #define SSL3_RANDOM_SIZE 32 | 234 | #define SSL3_RANDOM_SIZE 32 | 
| 235 | #define SSL3_SEQUENCE_SIZE 8 | ||
| 235 | #define SSL3_SESSION_ID_SIZE 32 | 236 | #define SSL3_SESSION_ID_SIZE 32 | 
| 236 | #define SSL3_RT_HEADER_LENGTH 5 | 237 | #define SSL3_RT_HEADER_LENGTH 5 | 
| 237 | 238 | ||
| @@ -389,10 +390,10 @@ typedef struct ssl3_state_st { | |||
| 389 | long flags; | 390 | long flags; | 
| 390 | int delay_buf_pop_ret; | 391 | int delay_buf_pop_ret; | 
| 391 | 392 | ||
| 392 | unsigned char read_sequence[8]; | 393 | unsigned char read_sequence[SSL3_SEQUENCE_SIZE]; | 
| 393 | int read_mac_secret_size; | 394 | int read_mac_secret_size; | 
| 394 | unsigned char read_mac_secret[EVP_MAX_MD_SIZE]; | 395 | unsigned char read_mac_secret[EVP_MAX_MD_SIZE]; | 
| 395 | unsigned char write_sequence[8]; | 396 | unsigned char write_sequence[SSL3_SEQUENCE_SIZE]; | 
| 396 | int write_mac_secret_size; | 397 | int write_mac_secret_size; | 
| 397 | unsigned char write_mac_secret[EVP_MAX_MD_SIZE]; | 398 | unsigned char write_mac_secret[EVP_MAX_MD_SIZE]; | 
| 398 | 399 | ||
