Merge 0a1b566bffd879084496bcfa2936cbc824c95059 into 3bb373867917b674265067cbd38b9d252c43d014

This commit is contained in:
Adrian Scillato 2026-07-20 21:06:01 +01:00 committed by GitHub
commit 83a46cc249
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2501,7 +2501,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 = { 0 };
#if defined(MBEDTLS_HAVE_TIME_DATE)
if (mbedtls_x509_time_gmtime(mbedtls_time(NULL), &now) != 0) {