summaryrefslogtreecommitdiffstats
path: root/crypto/cms
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cms')
-rw-r--r--crypto/cms/cms_ec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/cms/cms_ec.c b/crypto/cms/cms_ec.c
index 394c8b4dc3..ca2294ebc3 100644
--- a/crypto/cms/cms_ec.c
+++ b/crypto/cms/cms_ec.c
@@ -100,10 +100,9 @@ static int ecdh_cms_set_peerkey(EVP_PKEY_CTX *pctx,
if (!EVP_PKEY_copy_parameters(pkpeer, pk))
goto err;
} else {
- /* TODO(3.0): Should the get0_libctx/propq calls actually be public API? */
pkpeer = pkey_type2param(atype, aval,
- evp_pkey_ctx_get0_libctx(pctx),
- evp_pkey_ctx_get0_propq(pctx));
+ EVP_PKEY_CTX_get0_libctx(pctx),
+ EVP_PKEY_CTX_get0_propq(pctx));
if (pkpeer == NULL)
goto err;
}