OCSP Revocation Reason

1. The ASN.1 parser wasn't handling the OCSP response correctly when
   there was a revocation reason included in the response. The encoded
   reason value is constructed, and was getting marked as not
   constructed in the parser. Changed the flag to mark it as
   constructed.
pull/7241/head
John Safranek 2024-02-12 13:11:51 -08:00
parent 06f04def1b
commit c17fb7498b
No known key found for this signature in database
GPG Key ID: 8CE817DE0D3CCB4A
1 changed files with 1 additions and 1 deletions

View File

@ -34937,7 +34937,7 @@ static const ASNItem singleResponseASN[] = {
/* revocationTime */
/* CS_REVOKED_TIME */ { 2, ASN_GENERALIZED_TIME, 0, 0, 0 },
/* revocationReason [0] EXPLICIT CRLReason OPTIONAL */
/* CS_REVOKED_REASON */ { 2, ASN_CONTEXT_SPECIFIC | 0, 0, 1, 1 },
/* CS_REVOKED_REASON */ { 2, ASN_CONTEXT_SPECIFIC | 0, 1, 1, 1 },
/* crlReason */
/* CS_REVOKED_REASON_VAL */ { 3, ASN_ENUMERATED, 0, 0, 0 },
/* unknown [2] IMPLICIT UnknownInfo ::= NULL */