Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions wolfcrypt/src/asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -22420,8 +22420,11 @@ static int DecodeSubjInfoAcc(const byte* input, word32 sz, DecodedCert* cert)

if (cert->extSubjInfoAccCaRepo == NULL ||
cert->extSubjInfoAccCaRepoSz == 0) {
WOLFSSL_MSG("SubjectInfoAccess missing an URL.");
ret = ASN_PARSE_E;
/* Not all SIA extensions contain id-ad-caRepository. RFC 5280
* section 4.2.2.2 permits any access method; for example,
* ISO 15118-20 EV-charging PKI certificates carry only custom
* access-method OIDs. Log a message but do not reject the cert. */
WOLFSSL_MSG("SubjectInfoAccess: no caRepository URI found.");
}

WOLFSSL_LEAVE("DecodeSubjInfoAcc", ret);
Expand Down