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:50:54 +0200
commit90a071e8bbf7c71fcf493b47d61de8c45333edb4 (patch)
treec19c0940633619eaac51e61763175659f1f6585d
parentbda08b9184b0d6dc8e8686dde082155b3c4802c1 (diff)
downloadopenssl-new-90a071e8bbf7c71fcf493b47d61de8c45333edb4.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) (cherry picked from commit be6497aa208948c960a28363bac98a429677bd9d)
-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 0e0146d9ea..7b482d8864 100644
--- a/crypto/evp/ctrl_params_translate.c
+++ b/crypto/evp/ctrl_params_translate.c
@@ -2320,8 +2320,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[] = {