gpg: Improve --version algo info output.
authorWerner Koch <wk@gnupg.org>
Fri, 31 Jan 2014 14:55:04 +0000 (15:55 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 31 Jan 2014 14:55:04 +0000 (15:55 +0100)
commit71540d40414dc8b304b45dc476e5e5650a2db20a
treefa5576405e60748ac4e168d3248fa5499c0d7158
parentbf50604a0d50b974c1d4b8ccf5d774489f996cae
gpg: Improve --version algo info output.

* g10/misc.c (openpgp_pk_algo_name): Return a different string for
each ECC algorithm.
* g10/gpg.c (build_list_pk_test_algo): New wrapper to cope with the
different algo type enums.
(build_list_pk_algo_name): Ditto.
(build_list_cipher_test_algo): Ditto.
(build_list_cipher_algo_name): Ditto.
(build_list_md_test_algo): Ditto.
(build_list_md_algo_name): Ditto.
(my_strusage): Use them.
(list_config): Ditto. Add "pubkeyname".
(build_list): Add letter==1 hack.
g10/gpg.c
g10/misc.c