From ae439af93ac499d2be837aeaff94a14173480ff0 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 13 Jan 2002 10:43:21 +0000 Subject: * fingerprint.c (gpgsm_get_certid): Print the serialand not the hash after the dot. --- sm/ChangeLog | 5 +++++ sm/fingerprint.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sm/ChangeLog b/sm/ChangeLog index c31e766f7..b319c27ad 100644 --- a/sm/ChangeLog +++ b/sm/ChangeLog @@ -1,3 +1,8 @@ +2002-01-13 Werner Koch + + * fingerprint.c (gpgsm_get_certid): Print the serialand not the + hash after the dot. + 2002-01-11 Werner Koch * call-dirmngr.c: New. diff --git a/sm/fingerprint.c b/sm/fingerprint.c index fec5f14d5..88fe72b1e 100644 --- a/sm/fingerprint.c +++ b/sm/fingerprint.c @@ -246,7 +246,7 @@ gpgsm_get_certid (KsbaCert cert) sprintf (endp, "%02X", hash[i]); *endp++ = '.'; for (i=0; i < n; i++, endp += 2) - sprintf (endp, "%02X", hash[i]); + sprintf (endp, "%02X", p[i]); *endp = 0; xfree (serial); -- cgit v1.2.3