mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
Merge 0a1b566bffd879084496bcfa2936cbc824c95059 into 03e1438089654fb884ac48e0f3cd0049cfe2c102
This commit is contained in:
commit
17a242b7e6
@ -2508,7 +2508,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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user