mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
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.
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user