mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-02 20:42:25 +03:00
Update library/timing.c
Co-authored-by: Gilles Peskine <gilles.peskine@arm.com> Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
This commit is contained in:
@ -401,7 +401,7 @@ int mbedtls_timing_self_test(int verbose)
|
|||||||
uint32_t a = 0, b = 0;
|
uint32_t a = 0, b = 0;
|
||||||
mbedtls_timing_delay_context ctx;
|
mbedtls_timing_delay_context ctx;
|
||||||
|
|
||||||
memset(ctx, 0, sizeof(ctx));
|
memset(&ctx, 0, sizeof(ctx));
|
||||||
if (verbose != 0) {
|
if (verbose != 0) {
|
||||||
mbedtls_printf(" TIMING tests note: will take some time!\n");
|
mbedtls_printf(" TIMING tests note: will take some time!\n");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user