summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuan, Shuai <shuai.yuan@intel.com>2023-05-10 04:49:54 -0400
committerTomas Mraz <tomas@openssl.org>2023-05-11 12:49:40 +0200
commitbe6497aa208948c960a28363bac98a429677bd9d (patch)
treec2d95688b84aba7634fff84056f764d4a56eecd6
parent060f370ebc21b4d334a71ca8b8ab54f22199f177 (diff)
downloadopenssl-new-be6497aa208948c960a28363bac98a429677bd9d.tar.gz
Fixed TLS1.3 handshake issue for legacy engine API.
Signed-off-by: Yuan, Shuai <shuai.yuan@intel.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20922)
-rw-r--r--crypto/evp/ctrl_params_translate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/evp/ctrl_params_translate.c b/crypto/evp/ctrl_params_translate.c
index 9010fa6c46..5ec3b88993 100644
--- a/crypto/evp/ctrl_params_translate.c
+++ b/crypto/evp/ctrl_params_translate.c
@@ -2382,8 +2382,12 @@ static const struct translation_st evp_pkey_ctx_translations[] = {
*/
{ SET, EVP_PKEY_X25519, EVP_PKEY_X25519, EVP_PKEY_OP_KEYGEN, -1, NULL, NULL,
OSSL_PKEY_PARAM_GROUP_NAME, OSSL_PARAM_UTF8_STRING, fix_group_ecx },
+ { SET, EVP_PKEY_X25519, EVP_PKEY_X25519, EVP_PKEY_OP_PARAMGEN, -1, NULL, NULL,
+ OSSL_PKEY_PARAM_GROUP_NAME, OSSL_PARAM_UTF8_STRING, fix_group_ecx },
{ SET, EVP_PKEY_X448, EVP_PKEY_X448, EVP_PKEY_OP_KEYGEN, -1, NULL, NULL,
OSSL_PKEY_PARAM_GROUP_NAME, OSSL_PARAM_UTF8_STRING, fix_group_ecx },
+ { SET, EVP_PKEY_X448, EVP_PKEY_X448, EVP_PKEY_OP_PARAMGEN, -1, NULL, NULL,
+ OSSL_PKEY_PARAM_GROUP_NAME, OSSL_PARAM_UTF8_STRING, fix_group_ecx },
};
static const struct translation_st evp_pkey_translations[] = {