diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2018-12-16 12:43:59 +0100 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2018-12-30 17:18:40 +0100 |
commit | 0b4233f5a4a181a6dcb7c511cd2663e500e659a4 (patch) | |
tree | 803c10947de6598934f778f21f091fdee8e2b0f3 /ssl/tls13_enc.c | |
parent | Fixed minor typo in the req.pod docs (diff) | |
download | openssl-0b4233f5a4a181a6dcb7c511cd2663e500e659a4.tar.xz openssl-0b4233f5a4a181a6dcb7c511cd2663e500e659a4.zip |
Fix a minor nit in the hkdflabel size
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7913)
Diffstat (limited to 'ssl/tls13_enc.c')
-rw-r--r-- | ssl/tls13_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/tls13_enc.c b/ssl/tls13_enc.c index 17966c8023..6022950cf8 100644 --- a/ssl/tls13_enc.c +++ b/ssl/tls13_enc.c @@ -41,7 +41,7 @@ int tls13_hkdf_expand(SSL *s, const EVP_MD *md, const unsigned char *secret, * + bytes for the hash itself */ unsigned char hkdflabel[sizeof(uint16_t) + sizeof(uint8_t) + - + sizeof(label_prefix) + TLS13_MAX_LABEL_LEN + + (sizeof(label_prefix) - 1) + TLS13_MAX_LABEL_LEN + 1 + EVP_MAX_MD_SIZE]; WPACKET pkt; |