diff --git a/library/timing.c b/library/timing.c index f2f0a4386b77..8bc1b4278b56 100644 --- a/library/timing.c +++ b/library/timing.c @@ -399,7 +399,7 @@ int mbedtls_timing_self_test(int verbose) int hardfail = 0; struct mbedtls_timing_hr_time hires; uint32_t a = 0, b = 0; - mbedtls_timing_delay_context ctx; + mbedtls_timing_delay_context ctx = {}; if (verbose != 0) { mbedtls_printf(" TIMING tests note: will take some time!\n");