diff --git a/tests/api.c b/tests/api.c index 6b25e2a33..319eb48f6 100644 --- a/tests/api.c +++ b/tests/api.c @@ -41254,10 +41254,10 @@ static int test_wolfSSL_X509_bad_altname(void) /* malformed_alt_name_cert has a malformed alternative * name of "a*\0*". Ensure that it does not match "aaaaa" */ - ExpectIntNE(wolfSSL_X509_check_host(x509, name, nameLen, + ExpectIntNE(wolfSSL_X509_check_host(x509, name, nameLen, WOLFSSL_ALWAYS_CHECK_SUBJECT, NULL), 1); X509_free(x509); - + #endif return EXPECT_RESULT(); }