]> git.ipfire.org Git - thirdparty/openssl.git/commit
evp_pkey_ctx_setget_params_to_ctrl(): Always properly set ctx.action_type
authorTomas Mraz <tomas@openssl.org>
Mon, 24 Jun 2024 09:25:12 +0000 (11:25 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 26 Jun 2024 09:53:16 +0000 (11:53 +0200)
commita6facb1042adda2394dc5c98fbceb7625eef141a
treecdd67c98422679f82bc1fa2c3c67deb6f5ba6d83
parent678e63bc38dbfe3769bcfd5d6df51896423f2093
evp_pkey_ctx_setget_params_to_ctrl(): Always properly set ctx.action_type

Fixes #24698

Some applicable translations are bidirectional so they have
NONE action_type. However we need to set the real action_type
in the ctx.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24709)

(cherry picked from commit 55c1458303c0fef88e4b2b35a090e9145f3e07eb)
crypto/evp/ctrl_params_translate.c