diff options
| author | jsing <> | 2021-04-19 17:03:39 +0000 |
|---|---|---|
| committer | jsing <> | 2021-04-19 17:03:39 +0000 |
| commit | 9224df62e4b0dd5251c753a7931def2f1756be8b (patch) | |
| tree | 3105db318462fcbb99d9aab5d2dcc61feedc6bbf /src/lib/libssl/ssl_locl.h | |
| parent | 5f8453eb1cc1187e9be3703984abca2c1cab72ce (diff) | |
| download | openbsd-9224df62e4b0dd5251c753a7931def2f1756be8b.tar.gz openbsd-9224df62e4b0dd5251c753a7931def2f1756be8b.tar.bz2 openbsd-9224df62e4b0dd5251c753a7931def2f1756be8b.zip | |
Move new_mac_secret_size into the TLSv1.2 handshake struct.
Drop the 'new_' prefix in the process.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
| -rw-r--r-- | src/lib/libssl/ssl_locl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 3b86f5874b..f5287b2580 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_locl.h,v 1.334 2021/04/19 16:51:56 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.335 2021/04/19 17:03:39 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -427,6 +427,9 @@ typedef struct ssl_handshake_tls12_st { | |||
| 427 | /* Reuse current handshake message. */ | 427 | /* Reuse current handshake message. */ |
| 428 | int reuse_message; | 428 | int reuse_message; |
| 429 | 429 | ||
| 430 | /* Size of the MAC secret. */ | ||
| 431 | int mac_secret_size; | ||
| 432 | |||
| 430 | /* Record-layer key block for TLS 1.2 and earlier. */ | 433 | /* Record-layer key block for TLS 1.2 and earlier. */ |
| 431 | unsigned char *key_block; | 434 | unsigned char *key_block; |
| 432 | size_t key_block_len; | 435 | size_t key_block_len; |
| @@ -950,7 +953,6 @@ typedef struct ssl3_state_internal_st { | |||
| 950 | 953 | ||
| 951 | const EVP_CIPHER *new_sym_enc; | 954 | const EVP_CIPHER *new_sym_enc; |
| 952 | const EVP_AEAD *new_aead; | 955 | const EVP_AEAD *new_aead; |
| 953 | int new_mac_secret_size; | ||
| 954 | 956 | ||
| 955 | int cert_request; | 957 | int cert_request; |
| 956 | } tmp; | 958 | } tmp; |
