diff --git a/tests/api.c b/tests/api.c index ae3a1800a..9084e6662 100644 --- a/tests/api.c +++ b/tests/api.c @@ -21131,7 +21131,7 @@ static int test_wolfSSL_cert_cb_dyn_ciphers(void) "ECDSA+SHA256", caEccCertFile, wolfTLSv1_3_server_method}, #endif #endif -#ifndef WOLFSSL_NO_TLS12 +#if !defined(WOLFSSL_NO_TLS12) && !defined(WOLFSSL_HARDEN_TLS) #if !defined(NO_RSA) && defined(WC_RSA_PSS) && !defined(NO_DH) {wolfTLSv1_2_client_method, "DHE-RSA-AES128-GCM-SHA256",