summaryrefslogtreecommitdiffstats
path: root/test/param_build_test.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2021-04-07 13:45:19 +1000
committerShane Lontis <shane.lontis@oracle.com>2021-04-12 16:55:30 +1000
commit3f883c7c835ff577a6df37e238956c5b9016dc93 (patch)
tree53981bf279887c1dc043e264cbaa61710b75c2b9 /test/param_build_test.c
parent884314cab786a980189206b2cab5f62878a97669 (diff)
Replace OSSL_PARAM_BLD_free_params() with OSSL_PARAM_free().
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14785)
Diffstat (limited to 'test/param_build_test.c')
-rw-r--r--test/param_build_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/param_build_test.c b/test/param_build_test.c
index 6419582e11..e08bb31bf6 100644
--- a/test/param_build_test.c
+++ b/test/param_build_test.c
@@ -130,7 +130,7 @@ err:
OPENSSL_free(p1);
if (params != params_blt)
OPENSSL_free(params);
- OSSL_PARAM_BLD_free_params(params_blt);
+ OSSL_PARAM_free(params_blt);
OSSL_PARAM_BLD_free(bld);
OPENSSL_free(utf);
BN_free(bn);
@@ -265,7 +265,7 @@ err:
OSSL_PARAM_free(p1);
if (params != params_blt)
OSSL_PARAM_free(params);
- OSSL_PARAM_BLD_free_params(params_blt);
+ OSSL_PARAM_free(params_blt);
OSSL_PARAM_BLD_free(bld);
OPENSSL_secure_free(data1);
OPENSSL_secure_free(data2);
@@ -300,7 +300,7 @@ static int builder_limit_test(void)
goto err;
/* Verify that the build, cleared the builder structure */
- OSSL_PARAM_BLD_free_params(params);
+ OSSL_PARAM_free(params);
params = NULL;
if (!TEST_true(OSSL_PARAM_BLD_push_int(bld, "g", 2))
@@ -312,7 +312,7 @@ static int builder_limit_test(void)
goto err;
res = 1;
err:
- OSSL_PARAM_BLD_free_params(params);
+ OSSL_PARAM_free(params);
OSSL_PARAM_BLD_free(bld);
return res;
}