Skip to content

Commit a137847

Browse files
committed
removed isCaSet from decoded cert
1 parent 1562106 commit a137847

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

wolfcrypt/src/asn.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18551,12 +18551,6 @@ static int DecodeBasicCaConstraint(const byte* input, int sz, DecodedCert* cert)
1855118551
WOLFSSL_MSG("\tfail: constraint not valid BOOLEAN, set default FALSE");
1855218552
ret = 0;
1855318553
}
18554-
#ifdef WOLFSSL_ALLOW_ENCODING_CA_FALSE
18555-
else {
18556-
/* CA Boolean asserted, GetBoolean didn't return error. */
18557-
cert->isCaSet = 1;
18558-
}
18559-
#endif
1856018554

1856118555
cert->isCA = ret ? 1 : 0;
1856218556

0 commit comments

Comments
 (0)