From a13784789468c5e2fd44ff89a1a92bc9218790e9 Mon Sep 17 00:00:00 2001 From: Stanislav Klima Date: Wed, 8 Nov 2023 12:24:29 +0100 Subject: [PATCH] removed isCaSet from decoded cert --- wolfcrypt/src/asn.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index f1087281c..e910be74c 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -18551,12 +18551,6 @@ static int DecodeBasicCaConstraint(const byte* input, int sz, DecodedCert* cert) WOLFSSL_MSG("\tfail: constraint not valid BOOLEAN, set default FALSE"); ret = 0; } -#ifdef WOLFSSL_ALLOW_ENCODING_CA_FALSE - else { - /* CA Boolean asserted, GetBoolean didn't return error. */ - cert->isCaSet = 1; - } -#endif cert->isCA = ret ? 1 : 0;