Fix printing of ECC algo names in hkp keyserver listings.
authorWerner Koch <wk@gnupg.org>
Tue, 27 Nov 2012 16:35:16 +0000 (17:35 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 27 Nov 2012 16:35:16 +0000 (17:35 +0100)
commit978878b1be0be5bdce7b1bbc7dc9fa39ce8aa402
tree6551a2cb1064b5ca0fd2612fb561db488cd80e40
parentab4ea45f54006eba55db11263431c4c0c4f557dc
Fix printing of ECC algo names in hkp keyserver listings.

* g10/misc.c (map_pk_openpgp_to_gcry): New.
* g10/keyserver.c (print_keyrec): Map OpenPGP algorithm ids.
--

Although we don't have support for ECC, we want to print a proper
algorithm name in keyserver listings.  This will only work while using
a ECC enabled Libgcrypt.  Problem reported by Kristian Fiskerstrand.
g10/keyserver.c
g10/main.h
g10/misc.c