commit | d7768235daf4f36d2a8b3e39b59d49ffea50bb59 | [log] [tgz] |
---|---|---|
author | Gianfranco Costamagna <costamagnagianfranco@yahoo.it> | Thu Jan 18 12:08:21 2024 +0100 |
committer | Gianfranco Costamagna <costamagnagianfranco@yahoo.it> | Thu Jan 18 12:25:18 2024 +0100 |
tree | 112e873af36edb4b4c886e4b151c469d044c55a8 | |
parent | f88dd840a28b307799832446b1ef0b4a25661a20 [diff] [blame] |
Update library/timing.c Co-authored-by: Gilles Peskine <gilles.peskine@arm.com> Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
diff --git a/library/timing.c b/library/timing.c index 2777f6f..b1f72fe 100644 --- a/library/timing.c +++ b/library/timing.c
@@ -401,7 +401,7 @@ uint32_t a = 0, b = 0; mbedtls_timing_delay_context ctx; - memset(ctx, 0, sizeof(ctx)); + memset(&ctx, 0, sizeof(ctx)); if (verbose != 0) { mbedtls_printf(" TIMING tests note: will take some time!\n"); }