mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
removed isCaSet from decoded cert
This commit is contained in:
@@ -18551,12 +18551,6 @@ static int DecodeBasicCaConstraint(const byte* input, int sz, DecodedCert* cert)
|
|||||||
WOLFSSL_MSG("\tfail: constraint not valid BOOLEAN, set default FALSE");
|
WOLFSSL_MSG("\tfail: constraint not valid BOOLEAN, set default FALSE");
|
||||||
ret = 0;
|
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;
|
cert->isCA = ret ? 1 : 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user