gpg: Fix batch generation of ECC keys.
authorWerner Koch <wk@gnupg.org>
Mon, 24 Nov 2014 10:56:49 +0000 (11:56 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 24 Nov 2014 10:56:49 +0000 (11:56 +0100)
commitb716e6a69919b89c7887d6c7c9b97e58d18fdf95
treee598bc1ed33ac109e4562d73528168a33dc438fe
parent0082766aace354e49a23227475e664c515217a8d
gpg: Fix batch generation of ECC keys.

* g10/keygen.c (get_parameter_algo): Map ECC algorithm strings
directly.
--

Interactive generation of the keys uses the OpenPGP algorithms numbers
but batch generation allows the use of strings.

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