mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
#ifdef guard
This commit is contained in:
@@ -7216,8 +7216,11 @@ static int DecodeBasicCaConstraint(const byte* input, int sz, DecodedCert* cert)
|
|||||||
* left empty. So, if the length is 0, just return. */
|
* left empty. So, if the length is 0, just return. */
|
||||||
|
|
||||||
/* For OpenSSL compatibility, if ASN_INTEGER do nothing */
|
/* For OpenSSL compatibility, if ASN_INTEGER do nothing */
|
||||||
|
#ifdef WOLFSSL_X509_BASICCONS_INT
|
||||||
if (input[idx] == ASN_INTEGER)
|
if (input[idx] == ASN_INTEGER)
|
||||||
return 0;
|
return 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
ret = GetBoolean(input, &idx, sz);
|
ret = GetBoolean(input, &idx, sz);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
WOLFSSL_MSG("\tfail: constraint not valid BOOLEAN");
|
WOLFSSL_MSG("\tfail: constraint not valid BOOLEAN");
|
||||||
|
Reference in New Issue
Block a user