Merge 24213f87b8a6e1aba53bd464c722b9789d846c05 into f4a1aceb8ca7198b11447d6e1885ce70feb2dcc6

This commit is contained in:
Andrea Calabrese 2026-07-27 21:00:54 +01:00 committed by GitHub
commit 51c4258c75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2530,7 +2530,7 @@ static int x509_crt_verify_chain(
int signature_is_good;
unsigned self_cnt;
mbedtls_x509_crt *cur_trust_ca = NULL;
mbedtls_x509_time now;
mbedtls_x509_time now = {};
#if defined(MBEDTLS_HAVE_TIME_DATE)
if (mbedtls_x509_time_gmtime(mbedtls_time(NULL), &now) != 0) {