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

pull/8917/head
David Garske 2025-06-23 15:32:00 -07:00
parent 978a29da0b
commit 5d7cb2ec07
2 changed files with 3 additions and 2 deletions

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'

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)
{