From 3f9e2e5baaba038dbaa5c16c7b04e57f331cb25e Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Tue, 21 Oct 2025 09:30:45 +1000 Subject: [PATCH] X.509 cert: crl distribution point reasons is IMPLICIT The reasons field is IMPLICIT meaning that the value is directly under the context-specific tag. That is context-specific tag is not constructed. --- wolfcrypt/src/asn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 734b39be1..5db5d087a 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -20785,7 +20785,7 @@ static const ASNItem crlDistASN[] = { /* nameRelativeToCRLIssuer */ /* DP_DISTPOINT_RN */ { 3, ASN_CONTEXT_SPECIFIC | 1, 1, 0, 2 }, /* reasons: IMPLICIT BIT STRING */ -/* DP_REASONS */ { 2, ASN_CONTEXT_SPECIFIC | 1, 1, 0, 1 }, +/* DP_REASONS */ { 2, ASN_CONTEXT_SPECIFIC | 1, 0, 0, 1 }, /* cRLIssuer */ /* DP_CRLISSUER */ { 2, ASN_CONTEXT_SPECIFIC | 2, 1, 0, 1 }, };