mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-13 00:09:51 +02:00
gpg: Fix parameter parsing form ed448.
* g10/keygen.c (parse_key_parameter_part): Set algo also for 448.
--
Fixes-commit: a763bb2580
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…
Reference in New Issue
Block a user