diff options
-rw-r--r-- | g10/keygen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c index d3de98d32..16e4e58ea 100644 --- a/g10/keygen.c +++ b/g10/keygen.c @@ -3493,7 +3493,7 @@ parse_key_parameter_part (ctrl_t ctrl, if (!strcmp (algostr, "ed25519")) algo = PUBKEY_ALGO_EDDSA; else if (!strcmp (algostr, "ed448")) - kpi->algo = PUBKEY_ALGO_EDDSA; + algo = PUBKEY_ALGO_EDDSA; else if (!strcmp (algostr, "cv25519")) algo = PUBKEY_ALGO_ECDH; else if (!strcmp (algostr, "cv448")) |