summaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-03-02 17:05:48 +0100
committerTomas Mraz <tomas@openssl.org>2021-03-04 14:15:01 +0100
commit20cca4db9cd69e58b393b09bde85b8731cf12147 (patch)
treed7f9158ddb952fa1f3bb41daaca09a1e0741e98e /crypto/ec
parent22cd04143b2cd21f3285369659e98617dd0a482d (diff)
ecx_set_priv_key: Remove TODO 3.0 related to setting libctx
This function is used only for legacy keys so the TODO is not relevant. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14404)
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/ecx_meth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/ec/ecx_meth.c b/crypto/ec/ecx_meth.c
index 269e270ea6..54415d86db 100644
--- a/crypto/ec/ecx_meth.c
+++ b/crypto/ec/ecx_meth.c
@@ -334,7 +334,6 @@ static int ecd_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2)
static int ecx_set_priv_key(EVP_PKEY *pkey, const unsigned char *priv,
size_t len)
{
- /* TODO(3.0): We should pass a libctx here */
return ecx_key_op(pkey, pkey->ameth->pkey_id, NULL, priv, len,
KEY_OP_PRIVATE, NULL, NULL);
}