]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fixed EVP_PKEY_CTX_set_ec_paramgen_curve_nid() for SM2 in ENGINEs
authorYuan, Shuai <shuai.yuan@intel.com>
Wed, 10 May 2023 01:22:16 +0000 (21:22 -0400)
committerTomas Mraz <tomas@openssl.org>
Mon, 15 May 2023 10:04:55 +0000 (12:04 +0200)
commit43d5dac9d00ac486823d949f85ee3ad650b62af8
tree60226702b15f9b248f40710da8c89727fa1dd108
parent2b5a546ce1960883febc51f5d2a71a8b7c1b3ab9
Fixed EVP_PKEY_CTX_set_ec_paramgen_curve_nid() for SM2 in ENGINEs

The CTRL translation is missing for SM2 key types.

Fixes #20899
Signed-off-by: Yuan, Shuai <shuai.yuan@intel.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20900)
crypto/evp/ctrl_params_translate.c
crypto/evp/ec_ctrl.c