summaryrefslogtreecommitdiffstats
path: root/test/defltfips_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/defltfips_test.c')
-rw-r--r--test/defltfips_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/defltfips_test.c b/test/defltfips_test.c
index a2325a19fc..21c5e1524d 100644
--- a/test/defltfips_test.c
+++ b/test/defltfips_test.c
@@ -36,8 +36,8 @@ static int test_is_fips_enabled(void)
if (!TEST_ptr(sha256))
return 0;
if (is_fips
- && !TEST_str_eq(OSSL_PROVIDER_name(EVP_MD_get0_provider(sha256)),
- "fips")) {
+ && !TEST_str_eq(OSSL_PROVIDER_get0_name(EVP_MD_get0_provider(sha256)),
+ "fips")) {
EVP_MD_free(sha256);
return 0;
}