ecx_set_priv_key: Remove TODO 3.0 related to setting libctx
authorTomas Mraz <tomas@openssl.org>
Tue, 2 Mar 2021 16:05:48 +0000 (17:05 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 4 Mar 2021 13:15:01 +0000 (14:15 +0100)
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)

crypto/ec/ecx_meth.c

index 269e270ea615f0a1e70b3fcfe5c2afd5fe7e8b44..54415d86dbc6b38abb4a73f1c1b827af58bf54dc 100644 (file)
@@ -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);
 }