diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl_locl.h | 12 | 
1 files changed, 3 insertions, 9 deletions
| diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 4390361c66..d5298d7af1 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.317 2021/01/26 14:22:20 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.318 2021/01/28 17:00: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 | * | 
| @@ -481,6 +481,8 @@ int tls12_record_layer_write_overhead(struct tls12_record_layer *rl, | |||
| 481 | size_t *overhead); | 481 | size_t *overhead); | 
| 482 | int tls12_record_layer_read_protected(struct tls12_record_layer *rl); | 482 | int tls12_record_layer_read_protected(struct tls12_record_layer *rl); | 
| 483 | int tls12_record_layer_write_protected(struct tls12_record_layer *rl); | 483 | int tls12_record_layer_write_protected(struct tls12_record_layer *rl); | 
| 484 | void tls12_record_layer_set_aead(struct tls12_record_layer *rl, | ||
| 485 | const EVP_AEAD *aead); | ||
| 484 | void tls12_record_layer_set_version(struct tls12_record_layer *rl, | 486 | void tls12_record_layer_set_version(struct tls12_record_layer *rl, | 
| 485 | uint16_t version); | 487 | uint16_t version); | 
| 486 | void tls12_record_layer_set_write_epoch(struct tls12_record_layer *rl, | 488 | void tls12_record_layer_set_write_epoch(struct tls12_record_layer *rl, | 
| @@ -758,14 +760,6 @@ typedef struct ssl_internal_st { | |||
| 758 | 760 | ||
| 759 | STACK_OF(SSL_CIPHER) *cipher_list_tls13; | 761 | STACK_OF(SSL_CIPHER) *cipher_list_tls13; | 
| 760 | 762 | ||
| 761 | SSL_AEAD_CTX *aead_read_ctx; /* AEAD context. If non-NULL, then | ||
| 762 | enc_read_ctx and read_hash are | ||
| 763 | ignored. */ | ||
| 764 | |||
| 765 | SSL_AEAD_CTX *aead_write_ctx; /* AEAD context. If non-NULL, then | ||
| 766 | enc_write_ctx and write_hash are | ||
| 767 | ignored. */ | ||
| 768 | |||
| 769 | EVP_CIPHER_CTX *enc_write_ctx; /* cryptographic state */ | 763 | EVP_CIPHER_CTX *enc_write_ctx; /* cryptographic state */ | 
| 770 | EVP_MD_CTX *write_hash; /* used for mac generation */ | 764 | EVP_MD_CTX *write_hash; /* used for mac generation */ | 
| 771 | 765 | ||
