mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-30 16:22:15 +01:00
Merge pull request #7046 from dgarske/crl_cleanups
Various cleanups - CRL and comments - 20231207
This commit is contained in:
@@ -393,7 +393,7 @@ static int CheckCertCRLList(WOLFSSL_CRL* crl, byte* issuerHash, byte* serial,
|
||||
if (crle->nextDateFormat != ASN_OTHER_TYPE)
|
||||
#endif
|
||||
{
|
||||
#ifndef NO_ASN_TIME
|
||||
#if !defined(NO_ASN_TIME) && !defined(WOLFSSL_NO_CRL_DATE_CHECK)
|
||||
if (!XVALIDATE_DATE(crle->nextDate,crle->nextDateFormat, AFTER)) {
|
||||
WOLFSSL_MSG("CRL next date is no longer valid");
|
||||
ret = ASN_AFTER_DATE_E;
|
||||
|
||||
Reference in New Issue
Block a user