diff options
author | Pauli <paul.dale@oracle.com> | 2020-02-13 11:00:57 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-07-22 20:19:01 +1000 |
commit | 41bbba537598522daaf8369778de6d1225a4998e (patch) | |
tree | cf4eb63dab871fc339eb4ca325fd30b0019752ca /test/evp_fetch_prov_test.c | |
parent | 77ae4f6ff7af7d099206a1fc229be7a3ea0e0596 (diff) |
EVP: deprecate the EVP_X_meth_ functions.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11082)
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); |