From a82b76978e9abdf9dbd4e279ad50af079d708324 Mon Sep 17 00:00:00 2001 From: Colton Willey Date: Thu, 18 Jul 2024 11:28:11 -0700 Subject: [PATCH] Modify max altname test to run if limit has been lowered --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index 0ef014c4a..efc3a055a 100644 --- a/tests/api.c +++ b/tests/api.c @@ -51497,7 +51497,7 @@ static int test_wolfSSL_X509_max_altnames(void) #if !defined(NO_FILESYSTEM) && !defined(NO_CERTS) && !defined(NO_RSA) /* Only test if max alt names has not been modified */ -#if WOLFSSL_MAX_ALT_NAMES == 1024 +#if WOLFSSL_MAX_ALT_NAMES <= 1024 WOLFSSL_CTX* ctx = NULL; /* File contains a certificate encoded with 130 subject alternative names */