Merge pull request #8662 from LocutusOfBorg/mbedtls-2.28

timing.c fix build failure with -O3 optimization level
This commit is contained in:
Tom Cosgrove 2024-01-18 13:52:02 +00:00 committed by GitHub
commit c7e208d2fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -401,6 +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));
if (verbose != 0) {
mbedtls_printf(" TIMING tests note: will take some time!\n");
}