[git] GnuPG - branch, master, updated. gnupg-2.1.8-41-g2167951

by Werner Koch cvs at cvs.gnupg.org
Tue Sep 22 09:31:55 CEST 2015

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  2167951b275bae51cf669c02547e2e7ea8fbe2ee (commit)
      from  1542dc604b9c3e6a6a99750c48f7800e72584a89 (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 2167951b275bae51cf669c02547e2e7ea8fbe2ee
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Sep 22 09:28:35 2015 +0200

    ssh: Fix fingerprint computation for 384 bit ECDSA keys.
    * common/ssh-utils.c (get_fingerprint): Fix hashed string.
    That was an obvious c+p bug which should have been caught by a test
    GnuPG-bug-id: 2075
    Debian-bug-id: 795636

diff --git a/common/ssh-utils.c b/common/ssh-utils.c
index a75b3c0..fab798d 100644
--- a/common/ssh-utils.c
+++ b/common/ssh-utils.c
@@ -156,7 +156,7 @@ get_fingerprint (gcry_sexp_t key, void **r_fpr, size_t *r_len, int as_string)
               else if (!strcmp (name, "NIST P-256")||!strcmp (name, "nistp256"))
                 gcry_md_write (md, "256\0\0\0\x08nistp256", 15);
               else if (!strcmp (name, "NIST P-384")||!strcmp (name, "nistp384"))
-                gcry_md_write (md, "384\0\0\0\x08nistp521", 15);
+                gcry_md_write (md, "384\0\0\0\x08nistp384", 15);
               else if (!strcmp (name, "NIST P-521")||!strcmp (name, "nistp521"))
                 gcry_md_write (md, "521\0\0\0\x08nistp521", 15);


Summary of changes:
 common/ssh-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The GNU Privacy Guard

More information about the Gnupg-commits mailing list