mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-17 11:08:28 -04:00
timing.c: use memset to initialize the structure, from Gilles Peskine
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
This commit is contained in:
parent
ca902dbd9c
commit
f88dd840a2
@ -399,8 +399,9 @@ 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;
|
||||
|
||||
memset(ctx, 0, sizeof(ctx));
|
||||
if (verbose != 0) {
|
||||
mbedtls_printf(" TIMING tests note: will take some time!\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user