Skip to content

Commit

Permalink
Fixes #19580 ECX keygen
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan, Shuai <shuai.yuan@intel.com>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from #20680)
  • Loading branch information
ShuaiYuan21 authored and paulidale committed Apr 12, 2023
1 parent 7a4e109 commit 40f4884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/ec/ecx_meth.c
Expand Up @@ -711,7 +711,7 @@ const EVP_PKEY_ASN1_METHOD ossl_ed448_asn1_meth = {
static int pkey_ecx_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
{
ECX_KEY *ecx = ossl_ecx_key_op(NULL, NULL, 0, ctx->pmeth->pkey_id,
KEY_OP_PUBLIC, NULL, NULL);
KEY_OP_KEYGEN, NULL, NULL);

if (ecx != NULL) {
EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, ecx);
Expand Down

0 comments on commit 40f4884

Please sign in to comment.