aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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);