gpg: Allow use of "default" algo for--quick-addkey.
authorWerner Koch <wk@gnupg.org>
Wed, 14 Sep 2016 07:46:10 +0000 (09:46 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 14 Sep 2016 07:46:10 +0000 (09:46 +0200)
commit0fd332bc1f6f1f10c96da0cc91203925d3ac81eb
tree564c1ee55e22e47ac0a20faaebb4f846ef239971
parent30a011cfd6ec172cc460e59f0904a26fe2d68632
gpg: Allow use of "default" algo for--quick-addkey.

* g10/keygen.c (quick_generate_keypair): Write a status error.
(parse_algo_usage_expire): Set a default curve.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/keygen.c