Merge pull request #7046 from dgarske/crl_cleanups

Various cleanups - CRL and comments - 20231207
This commit is contained in:
JacobBarthelmeh
2023-12-08 17:15:01 -07:00
committed by GitHub
4 changed files with 9 additions and 6 deletions

View File

@@ -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;