aboutsummaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
parent884314cab786a980189206b2cab5f62878a97669 (diff)
downloadopenssl-3f883c7c835ff577a6df37e238956c5b9016dc93.tar.gz
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 'apps')
-rw-r--r--apps/dhparam.c2
-rw-r--r--apps/testdsa.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dhparam.c b/apps/dhparam.c
index 1cd19fae92..136dbcff64 100644
--- a/apps/dhparam.c
+++ b/apps/dhparam.c
@@ -396,7 +396,7 @@ static EVP_PKEY *dsa_to_dh(EVP_PKEY *dh)
err:
EVP_PKEY_CTX_free(ctx);
- OSSL_PARAM_BLD_free_params(params);
+ OSSL_PARAM_free(params);
OSSL_PARAM_BLD_free(tmpl);
BN_free(bn_p);
BN_free(bn_q);
diff --git a/apps/testdsa.h b/apps/testdsa.h
index 8738335391..d80d2cf7f2 100644
--- a/apps/testdsa.h
+++ b/apps/testdsa.h
@@ -267,7 +267,7 @@ EVP_PKEY *get_dsa(int dsa_bits)
params) <= 0)
pkey = NULL;
err:
- OSSL_PARAM_BLD_free_params(params);
+ OSSL_PARAM_free(params);
OSSL_PARAM_BLD_free(tmpl);
BN_free(priv_key);
BN_free(pub_key);