diff --git a/tests/api.c b/tests/api.c index 243157a42..889479266 100644 --- a/tests/api.c +++ b/tests/api.c @@ -44662,7 +44662,8 @@ static void test_wolfSSL_EVP_PKEY_derive(void) static void test_wolfSSL_EVP_PBE_scrypt(void) { -#if defined(OPENSSL_EXTRA) && defined(HAVE_SCRYPT) && defined(HAVE_PBKDF2) +#if defined(OPENSSL_EXTRA) && defined(HAVE_SCRYPT) && defined(HAVE_PBKDF2) && \ + (!defined(HAVE_FIPS_VERSION) || (HAVE_FIPS_VERSION < 5)) #if !defined(NO_PWDBASED) && !defined(NO_SHA256) int ret;