diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2021-04-07 13:45:19 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2021-04-12 16:55:30 +1000 |
commit | 3f883c7c835ff577a6df37e238956c5b9016dc93 (patch) | |
tree | 53981bf279887c1dc043e264cbaa61710b75c2b9 /crypto/ec | |
parent | 884314cab786a980189206b2cab5f62878a97669 (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 'crypto/ec')
-rw-r--r-- | crypto/ec/ec_ameth.c | 2 | ||||
-rw-r--r-- | crypto/ec/ecx_meth.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ec_ameth.c b/crypto/ec/ec_ameth.c index 273663d89e..e49252449d 100644 --- a/crypto/ec/ec_ameth.c +++ b/crypto/ec/ec_ameth.c @@ -611,7 +611,7 @@ int ec_pkey_export_to(const EVP_PKEY *from, void *to_keydata, err: OSSL_PARAM_BLD_free(tmpl); - OSSL_PARAM_BLD_free_params(params); + OSSL_PARAM_free(params); OPENSSL_free(pub_key_buf); OPENSSL_free(gen_buf); BN_CTX_end(bnctx); diff --git a/crypto/ec/ecx_meth.c b/crypto/ec/ecx_meth.c index c4d534e48c..609d8609ea 100644 --- a/crypto/ec/ecx_meth.c +++ b/crypto/ec/ecx_meth.c @@ -379,7 +379,7 @@ static int ecx_pkey_export_to(const EVP_PKEY *from, void *to_keydata, err: OSSL_PARAM_BLD_free(tmpl); - OSSL_PARAM_BLD_free_params(params); + OSSL_PARAM_free(params); return rv; } |