mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
gpg: Fix parameter parsing form ed448.
* g10/keygen.c (parse_key_parameter_part): Set algo also for 448. -- Fixes-commit: a763bb2580b0d586a80b8ccd3654f41e49604f4f
This commit is contained in:
parent
d84862cf10
commit
e824e27d36
@ -3493,7 +3493,7 @@ parse_key_parameter_part (ctrl_t ctrl,
|
|||||||
if (!strcmp (algostr, "ed25519"))
|
if (!strcmp (algostr, "ed25519"))
|
||||||
algo = PUBKEY_ALGO_EDDSA;
|
algo = PUBKEY_ALGO_EDDSA;
|
||||||
else if (!strcmp (algostr, "ed448"))
|
else if (!strcmp (algostr, "ed448"))
|
||||||
kpi->algo = PUBKEY_ALGO_EDDSA;
|
algo = PUBKEY_ALGO_EDDSA;
|
||||||
else if (!strcmp (algostr, "cv25519"))
|
else if (!strcmp (algostr, "cv25519"))
|
||||||
algo = PUBKEY_ALGO_ECDH;
|
algo = PUBKEY_ALGO_ECDH;
|
||||||
else if (!strcmp (algostr, "cv448"))
|
else if (!strcmp (algostr, "cv448"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user