Skip to content

Commit

Permalink
Update library/timing.c
Browse files Browse the repository at this point in the history
Co-authored-by: Gilles Peskine <[email protected]>
Signed-off-by: Gianfranco Costamagna <[email protected]>
  • Loading branch information
LocutusOfBorg and gilles-peskine-arm committed Jan 18, 2024
1 parent f88dd84 commit d776823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/timing.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ int mbedtls_timing_self_test(int verbose)
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");
}
Expand Down

0 comments on commit d776823

Please sign in to comment.