gpg: Improve error message for --quick-gen-key.
authorWerner Koch <wk@gnupg.org>
Thu, 10 Nov 2016 11:18:33 +0000 (12:18 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 10 Nov 2016 11:18:33 +0000 (12:18 +0100)
commit088d955bd8a6ec8bbf76c8a4c01eb08499d1d9fa
treeeca4a8d7220ec7dcd3c0b7efa0e909a2feaee320
parentc7ea98cd3d44abf00e32c081e5049ad1d0b1f12c
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>
g10/keygen.c