From f13a82610ceceb21bad78a9d3498f55f1e9d7f87 Mon Sep 17 00:00:00 2001 From: Colton Willey Date: Wed, 29 May 2024 22:41:36 -0700 Subject: [PATCH] Add flag guard for IGNORE_NAME_CONSTRAINTS --- tests/api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index c2384796d..e228f5fe0 100644 --- a/tests/api.c +++ b/tests/api.c @@ -41292,7 +41292,8 @@ static int test_wolfSSL_X509_max_altnames(void) static int test_wolfSSL_X509_max_name_constraints(void) { EXPECT_DECLS; -#if !defined(NO_FILESYSTEM) && !defined(NO_CERTS) && !defined(NO_RSA) +#if !defined(NO_FILESYSTEM) && !defined(NO_CERTS) && !defined(NO_RSA) && \ + !defined(IGNORE_NAME_CONSTRAINTS) /* Only test if max name constraints has not been modified */ #if WOLFSSL_MAX_NAME_CONSTRAINTS == 128