Fix for new api.c test test_wolfSSL_check_domain_basic added in PR #8863 that fails with --disable-sys-ca-certs.

This commit is contained in:
David Garske
2025-06-23 15:32:00 -07:00
parent 978a29da0b
commit 5d7cb2ec07
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -56,7 +56,8 @@ jobs:
'--enable-opensslextra CPPFLAGS=''-DWOLFSSL_NO_CA_NAMES'' ',
'--enable-opensslextra=x509small',
'CPPFLAGS=''-DWOLFSSL_EXTRA'' ',
'--enable-lms=small,verify-only --enable-xmss=small,verify-only'
'--enable-lms=small,verify-only --enable-xmss=small,verify-only',
'--disable-sys-ca-certs'
]
name: make check
if: github.repository_owner == 'wolfssl'
+1 -1
View File
@@ -32797,7 +32797,7 @@ static int test_wolfSSL_check_domain(void)
#endif /* OPENSSL_EXTRA && HAVE_SSL_MEMIO_TESTS_DEPENDENCIES */
#if defined(HAVE_SSL_MEMIO_TESTS_DEPENDENCIES) && \
!defined(WOLFSSL_SYS_CA_CERTS)
defined(WOLFSSL_SYS_CA_CERTS)
static const char* dn = NULL;
static int test_wolfSSL_check_domain_basic_client_ctx(WOLFSSL_CTX* ctx)
{