aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-01-13 10:43:21 +0000
committerWerner Koch <[email protected]>2002-01-13 10:43:21 +0000
commitae439af93ac499d2be837aeaff94a14173480ff0 (patch)
treec8c0e06e0fbd9a55a215f6f452aef68a2bf419e1
parent* call-dirmngr.c: New. (diff)
downloadgnupg-ae439af93ac499d2be837aeaff94a14173480ff0.tar.gz
gnupg-ae439af93ac499d2be837aeaff94a14173480ff0.zip
* fingerprint.c (gpgsm_get_certid): Print the serialand not the
hash after the dot.
Diffstat (limited to '')
-rw-r--r--sm/ChangeLog5
-rw-r--r--sm/fingerprint.c2
2 files changed, 6 insertions, 1 deletions
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 <[email protected]>
+
+ * fingerprint.c (gpgsm_get_certid): Print the serialand not the
+ hash after the dot.
+
2002-01-11 Werner Koch <[email protected]>
* 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);