]> 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:53 +0000 (11:52 +0200)
commitd489bc8589a43986efe1ea21c3c0872228be979f
treeefc04b1c8fc39e142d74446993a5a00c2de6f473
parent1c437b5704c9ee5f667bc2b11e5fdf176dfb714f
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