summaryrefslogtreecommitdiffstats
path: root/sm/fingerprint.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-01-13 11:43:21 +0100
committerWerner Koch <wk@gnupg.org>2002-01-13 11:43:21 +0100
commitae439af93ac499d2be837aeaff94a14173480ff0 (patch)
treec8c0e06e0fbd9a55a215f6f452aef68a2bf419e1 /sm/fingerprint.c
parent* call-dirmngr.c: New. (diff)
downloadgnupg2-ae439af93ac499d2be837aeaff94a14173480ff0.tar.xz
gnupg2-ae439af93ac499d2be837aeaff94a14173480ff0.zip
* fingerprint.c (gpgsm_get_certid): Print the serialand not the
hash after the dot.
Diffstat (limited to 'sm/fingerprint.c')
-rw-r--r--sm/fingerprint.c2
1 files changed, 1 insertions, 1 deletions
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);