projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22cd041
)
ecx_set_priv_key: Remove TODO 3.0 related to setting libctx
author
Tomas Mraz
<tomas@openssl.org>
Tue, 2 Mar 2021 16:05:48 +0000
(17:05 +0100)
committer
Tomas 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
patch
|
blob
|
history
diff --git
a/crypto/ec/ecx_meth.c
b/crypto/ec/ecx_meth.c
index 269e270ea615f0a1e70b3fcfe5c2afd5fe7e8b44..54415d86dbc6b38abb4a73f1c1b827af58bf54dc 100644
(file)
--- 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);
}