Skip to content

Commit 6bfd263

Browse files
authored
Merge pull request #8917 from dgarske/various_20250623
Fix for broken `test_wolfSSL_check_domain_basic`
2 parents 23a37b2 + 33972e3 commit 6bfd263

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/msys2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
update: true
2727
install: git gcc autotools base-devel autoconf netcat
2828
- name: configure wolfSSL
29-
run: ./autogen.sh && ./configure CFLAGS="-DUSE_CERT_BUFFERS_2048 -DUSE_CERT_BUFFERS_256 -DNO_WRITE_TEMP_FILES"
29+
run: ./autogen.sh && ./configure --disable-sys-ca-certs CFLAGS="-DUSE_CERT_BUFFERS_2048 -DUSE_CERT_BUFFERS_256 -DNO_WRITE_TEMP_FILES"
3030
- name: build wolfSSL
3131
run: make
3232
- name: run tests

.github/workflows/os-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
'--enable-opensslextra CPPFLAGS=''-DWOLFSSL_NO_CA_NAMES'' ',
5757
'--enable-opensslextra=x509small',
5858
'CPPFLAGS=''-DWOLFSSL_EXTRA'' ',
59-
'--enable-lms=small,verify-only --enable-xmss=small,verify-only'
59+
'--enable-lms=small,verify-only --enable-xmss=small,verify-only',
60+
'--disable-sys-ca-certs'
6061
]
6162
name: make check
6263
if: github.repository_owner == 'wolfssl'

tests/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32798,7 +32798,7 @@ static int test_wolfSSL_check_domain(void)
3279832798

3279932799
#endif /* OPENSSL_EXTRA && HAVE_SSL_MEMIO_TESTS_DEPENDENCIES */
3280032800
#if defined(HAVE_SSL_MEMIO_TESTS_DEPENDENCIES) && \
32801-
!defined(WOLFSSL_SYS_CA_CERTS)
32801+
defined(WOLFSSL_SYS_CA_CERTS)
3280232802
static const char* dn = NULL;
3280332803
static int test_wolfSSL_check_domain_basic_client_ctx(WOLFSSL_CTX* ctx)
3280432804
{

0 commit comments

Comments
 (0)