[openssl/openssl] bcf81f: ssl/tls13_enc.c: Replace size_t with int and add t...
JiashengJiang
noreply at github.com
Tue Apr 2 10:15:35 UTC 2024
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: bcf81f742dded19321dc7f76c1d729f615f8656c
https://github.com/openssl/openssl/commit/bcf81f742dded19321dc7f76c1d729f615f8656c
Author: Jiasheng Jiang <jiasheng at purdue.edu>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M ssl/tls13_enc.c
Log Message:
-----------
ssl/tls13_enc.c: Replace size_t with int and add the checks
Replace the type of variables with int to avoid implicit cast when they are assigned by EVP_MD_get_size().
Moreover, add the checks to avoid integer overflow.
Fixes: 6612d87b89 ("Use the correct size for TLSv1.3 finished keys")
Fixes: 34574f193b ("Add support for TLS1.3 secret generation")
Signed-off-by: Jiasheng Jiang <jiasheng at purdue.edu>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Neil Horman <nhorman at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23942)
Commit: d53497670d8a567fd6cb3687a1d6981ad2892870
https://github.com/openssl/openssl/commit/d53497670d8a567fd6cb3687a1d6981ad2892870
Author: Jiasheng Jiang <jiasheng at purdue.edu>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M ssl/tls13_enc.c
Log Message:
-----------
Alter the variable name
Alter the variable name to make it more meaningful.
Signed-off-by: Jiasheng Jiang <jiasheng at purdue.edu>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Neil Horman <nhorman at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23942)
Compare: https://github.com/openssl/openssl/compare/9f6a48749afd...d53497670d8a
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
More information about the openssl-commits
mailing list