forked from wolfSSL/wolfssl
subject info. acc. should contain a CA repo entry not OCSP
This commit is contained in:
@@ -18885,8 +18885,8 @@ static int DecodeSubjInfoAcc(const byte* input, int sz, DecodedCert* cert)
|
|||||||
if (GetLength(input, &idx, &length, sz) < 0)
|
if (GetLength(input, &idx, &length, sz) < 0)
|
||||||
return ASN_PARSE_E;
|
return ASN_PARSE_E;
|
||||||
|
|
||||||
/* Set ocsp entry */
|
/* Set caRepo entry */
|
||||||
if (b == GENERALNAME_URI && oid == AIA_OCSP_OID) {
|
if (b == GENERALNAME_URI && oid == AIA_CA_REPO_OID) {
|
||||||
cert->extSubjInfoAccCaRepoSz = length;
|
cert->extSubjInfoAccCaRepoSz = length;
|
||||||
cert->extSubjInfoAccCaRepo = input + idx;
|
cert->extSubjInfoAccCaRepo = input + idx;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user