mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
CRL extensions are optional so ext errors should be skipped
This commit is contained in:
@ -16130,8 +16130,8 @@ int ParseCRL(DecodedCRL* dcrl, const byte* buff, word32 sz, void* cm)
|
|||||||
if (ParseCRL_CertList(dcrl, buff, &idx, idx + len) < 0)
|
if (ParseCRL_CertList(dcrl, buff, &idx, idx + len) < 0)
|
||||||
return ASN_PARSE_E;
|
return ASN_PARSE_E;
|
||||||
|
|
||||||
if (ParseCRL_Extensions(dcrl, buff, &idx, idx + len) < 0)
|
/* CRL Extensions optional, ignoring errors */
|
||||||
return ASN_PARSE_E;
|
ParseCRL_Extensions(dcrl, buff, &idx, idx + len);
|
||||||
|
|
||||||
idx = dcrl->sigIndex;
|
idx = dcrl->sigIndex;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user