mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
Fix printing of ECC algo names in hkp keyserver listings.
* g10/keyserver.c (print_keyrec): Map OpenPGP algorithm ids.
This commit is contained in:
parent
66331e138e
commit
3d2da6c821
@ -506,9 +506,11 @@ print_keyrec(int number,struct keyrec *keyrec)
|
||||
|
||||
if(keyrec->type)
|
||||
{
|
||||
const char *str = gcry_pk_algo_name (keyrec->type);
|
||||
const char *str;
|
||||
|
||||
if(str)
|
||||
str = gcry_pk_algo_name (map_pk_openpgp_to_gcry (keyrec->type));
|
||||
|
||||
if (str && strcmp (str, "?"))
|
||||
es_printf ("%s ",str);
|
||||
else
|
||||
es_printf ("unknown ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user