[git] GnuPG - branch, master, updated. gnupg-2.1.0beta3-101-g3d2da6c

by Werner Koch cvs at cvs.gnupg.org
Tue Nov 27 19:07:55 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  3d2da6c82163ffbc2e827abc4144dc3197ed53db (commit)
      from  66331e138ec17e176cc3f45bb095820866d5358c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3d2da6c82163ffbc2e827abc4144dc3197ed53db
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Nov 27 16:51:09 2012 +0100

    Fix printing of ECC algo names in hkp keyserver listings.
    
    * g10/keyserver.c (print_keyrec): Map OpenPGP algorithm ids.

diff --git a/g10/keyserver.c b/g10/keyserver.c
index 75234be..0e6bcf6 100644
--- a/g10/keyserver.c
+++ b/g10/keyserver.c
@@ -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 ");

-----------------------------------------------------------------------

Summary of changes:
 g10/keyserver.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list