mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Improve error message for --quick-gen-key.
* g10/keygen.c (parse_algo_usage_expire): Use a different error message for an unknown algorithm name. -- GnuPG-bug-id: 2832 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
c7ea98cd3d
commit
088d955bd8
1 changed files with 1 additions and 1 deletions
|
@ -4532,7 +4532,7 @@ parse_algo_usage_expire (ctrl_t ctrl, int for_subkey,
|
|||
use = PUBKEY_USAGE_ENC;
|
||||
}
|
||||
else
|
||||
return gpg_error (GPG_ERR_INV_CURVE);
|
||||
return gpg_error (GPG_ERR_UNKNOWN_CURVE);
|
||||
|
||||
/* Parse the usage string. */
|
||||
if (!usagestr || !*usagestr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue