1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Merge pull request #3433 from raoulstrackx/raoul/verify_crl_without_time

Always revoke certificate on CRL
This commit is contained in:
Gilles Peskine
2020-08-26 12:56:11 +02:00
committed by GitHub
9 changed files with 66 additions and 4 deletions

View File

@ -2322,8 +2322,7 @@ int mbedtls_x509_crt_is_revoked( const mbedtls_x509_crt *crt, const mbedtls_x509
if( crt->serial.len == cur->serial.len &&
memcmp( crt->serial.p, cur->serial.p, crt->serial.len ) == 0 )
{
if( mbedtls_x509_time_is_past( &cur->revocation_date ) )
return( 1 );
return( 1 );
}
cur = cur->next;