commit | c7e208d2fa8b1e66edd53121a618577d7c54cc96 | [log] [tgz] |
---|---|---|
author | Tom Cosgrove <tom.cosgrove@arm.com> | Thu Jan 18 13:52:02 2024 +0000 |
committer | GitHub <noreply@github.com> | Thu Jan 18 13:52:02 2024 +0000 |
tree | 7de04b2eb38cc6ddaf226070f7857771304aca90 | |
parent | 56fd26cee97531f223071b91ed108dc1e22e7a85 [diff] | |
parent | d7768235daf4f36d2a8b3e39b59d49ffea50bb59 [diff] |
Merge pull request #8662 from LocutusOfBorg/mbedtls-2.28 timing.c fix build failure with -O3 optimization level
diff --git a/library/timing.c b/library/timing.c index f2f0a43..b1f72fe 100644 --- a/library/timing.c +++ b/library/timing.c
@@ -401,6 +401,7 @@ uint32_t a = 0, b = 0; mbedtls_timing_delay_context ctx; + memset(&ctx, 0, sizeof(ctx)); if (verbose != 0) { mbedtls_printf(" TIMING tests note: will take some time!\n"); }