projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac52fe5
)
param->ctrl translation: Fix evp_pkey_ctx_setget_params_to_ctrl()
author
Richard Levitte
<levitte@openssl.org>
Fri, 21 Apr 2023 04:00:47 +0000
(06:00 +0200)
committer
Matt Caswell
<matt@openssl.org>
Mon, 1 May 2023 10:20:04 +0000
(11:20 +0100)
Ensure that ctx.ctrl_cmd defaults to translation->cmd_num
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/20780)
crypto/evp/ctrl_params_translate.c
patch
|
blob
|
history
diff --git
a/crypto/evp/ctrl_params_translate.c
b/crypto/evp/ctrl_params_translate.c
index c0bd7a7449009b7b09298c47b695c4e927d9857d..9010fa6c4638c80e2ad844c443b2be394047c356 100644
(file)
--- a/
crypto/evp/ctrl_params_translate.c
+++ b/
crypto/evp/ctrl_params_translate.c
@@
-2802,6
+2802,7
@@
static int evp_pkey_ctx_setget_params_to_ctrl(EVP_PKEY_CTX *pctx,
if (translation->fixup_args != NULL)
fixup = translation->fixup_args;
ctx.action_type = translation->action_type;
+ ctx.ctrl_cmd = translation->ctrl_num;
}
ctx.pctx = pctx;
ctx.params = params;