From: Tomas Mraz Date: Tue, 2 Mar 2021 16:05:48 +0000 (+0100) Subject: ecx_set_priv_key: Remove TODO 3.0 related to setting libctx X-Git-Tag: openssl-3.0.0-alpha13~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20cca4db9cd69e58b393b09bde85b8731cf12147;p=thirdparty%2Fopenssl.git 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 (Merged from https://github.com/openssl/openssl/pull/14404) --- diff --git a/crypto/ec/ecx_meth.c b/crypto/ec/ecx_meth.c index 269e270ea61..54415d86dbc 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); }