Update from review

This commit is contained in:
Eric Blankenhorn
2020-06-03 15:56:46 -05:00
parent 91fb6216a9
commit 4b10f6aa03

View File

@ -17444,10 +17444,10 @@ int ParseCRL(DecodedCRL* dcrl, const byte* buff, word32 sz, void* cm)
return ASN_PARSE_E;
dcrl->sigIndex = len + idx;
if (ParseCRL_CertList(dcrl, buff, &idx, sz) < 0)
if (ParseCRL_CertList(dcrl, buff, &idx, dcrl->sigIndex) < 0)
return ASN_PARSE_E;
if (ParseCRL_Extensions(dcrl, buff, &idx, sz) < 0)
if (ParseCRL_Extensions(dcrl, buff, &idx, dcrl->sigIndex) < 0)
return ASN_PARSE_E;
idx = dcrl->sigIndex;