]> 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:52:02 +0000 (11:52 +0200)
commit55c1458303c0fef88e4b2b35a090e9145f3e07eb
treec6cb0872458a214829fbef496740f87095027c0e
parent30dc37d798a0428fd477d3763086e7e97b3d596f
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)
crypto/evp/ctrl_params_translate.c