From 95ab6ce4b89a518be9e0350437dc4054c13a0000 Mon Sep 17 00:00:00 2001 From: Hayden Roche Date: Mon, 16 Aug 2021 17:36:36 -0700 Subject: [PATCH] Don't run test_wolfSSL_DSA_SIG if HAVE_FIPS is defined. This test calls `wolfSSL_DSA_do_sign_ex` and `wolfSSL_DSA_do_verify_ex`, both of which don't exist if `HAVE_FIPS` is defined. --- tests/api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index 522cd4e65..2699a5d3a 100644 --- a/tests/api.c +++ b/tests/api.c @@ -39276,7 +39276,8 @@ static void test_wolfSSL_EVP_PKEY_set1_get1_DSA(void) static void test_wolfSSL_DSA_SIG(void) { -#if !defined (NO_DSA) && !defined(HAVE_SELFTEST) && defined(WOLFSSL_KEY_GEN) +#if !defined(NO_DSA) && !defined(HAVE_SELFTEST) && defined(WOLFSSL_KEY_GEN) && \ + !defined(HAVE_FIPS) DSA *dsa = NULL; DSA *dsa2 = NULL; DSA_SIG *sig = NULL;