commit | 0b7da1b7870a2af6942f687e1c55eccafc9c29ee | [log] [tgz] |
---|---|---|
author | Raef Coles <raef.coles@arm.com> | Tue Sep 27 13:45:30 2022 +0100 |
committer | Raef Coles <raef.coles@arm.com> | Thu Oct 13 14:29:03 2022 +0100 |
tree | 9a73394590324d9ef874df25a428456087542e2d | |
parent | 98c504373c853b6f009e88fdb45b5f2e754c5e33 [diff] [blame] |
Fix overflow in LMS context init Signed-off-by: Raef Coles <raef.coles@arm.com>
diff --git a/library/lms.c b/library/lms.c index d3801c7..1c66946 100644 --- a/library/lms.c +++ b/library/lms.c
@@ -506,7 +506,7 @@ void mbedtls_lms_init_private( mbedtls_lms_private_t *ctx ) { - mbedtls_platform_zeroize( ctx, sizeof( mbedtls_lms_public_t ) ) ; + mbedtls_platform_zeroize( ctx, sizeof( mbedtls_lms_private_t ) ) ; } void mbedtls_lms_free_private( mbedtls_lms_private_t *ctx )