diff options
Diffstat (limited to 'test/evp_fetch_prov_test.c')
-rw-r--r-- | test/evp_fetch_prov_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/evp_fetch_prov_test.c b/test/evp_fetch_prov_test.c index 367493b5e7..d7f43f229d 100644 --- a/test/evp_fetch_prov_test.c +++ b/test/evp_fetch_prov_test.c @@ -146,7 +146,7 @@ static int test_EVP_MD_fetch(void) if (!TEST_true(EVP_MD_up_ref(md))) goto err; /* Ref count should now be 2. Release first one here */ - EVP_MD_meth_free(md); + EVP_MD_free(md); } else { if (!TEST_ptr_null(md)) goto err; @@ -154,7 +154,7 @@ static int test_EVP_MD_fetch(void) ret = 1; err: - EVP_MD_meth_free(md); + EVP_MD_free(md); OSSL_PROVIDER_unload(prov[0]); OSSL_PROVIDER_unload(prov[1]); /* Not normally needed, but we would like to test that @@ -218,7 +218,7 @@ static int test_EVP_CIPHER_fetch(void) if (!TEST_true(EVP_CIPHER_up_ref(cipher))) goto err; /* Ref count should now be 2. Release first one here */ - EVP_CIPHER_meth_free(cipher); + EVP_CIPHER_free(cipher); } } else { if (!TEST_ptr_null(cipher)) @@ -226,7 +226,7 @@ static int test_EVP_CIPHER_fetch(void) } ret = 1; err: - EVP_CIPHER_meth_free(cipher); + EVP_CIPHER_free(cipher); OSSL_PROVIDER_unload(prov[0]); OSSL_PROVIDER_unload(prov[1]); OPENSSL_CTX_free(ctx); |