mirror of https://github.com/wolfSSL/wolfssl.git
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
parent
06f04def1b
commit
c17fb7498b
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue