aboutsummaryrefslogtreecommitdiffstats
path: root/sm/fingerprint.c
diff options
context:
space:
mode:
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);