aboutsummaryrefslogtreecommitdiffstats
path: root/sm/keylist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2001-11-24 22:20:38 +0000
committerWerner Koch <[email protected]>2001-11-24 22:20:38 +0000
commitf60dc501d2958a1d80de7a114d2f4eedc267f2d7 (patch)
treee457130952fc760aceec51a6d3d0d4566faccc42 /sm/keylist.c
parentAdd a copyright note to the bottom (diff)
downloadgnupg-f60dc501d2958a1d80de7a114d2f4eedc267f2d7.tar.gz
gnupg-f60dc501d2958a1d80de7a114d2f4eedc267f2d7.zip
Introduced the keygrip
Diffstat (limited to 'sm/keylist.c')
-rw-r--r--sm/keylist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sm/keylist.c b/sm/keylist.c
index f47a0b79e..19bc9dd40 100644
--- a/sm/keylist.c
+++ b/sm/keylist.c
@@ -104,6 +104,9 @@ list_cert_colon (KsbaCert cert, FILE *fp)
p = gpgsm_get_fingerprint_hexstring (cert, GCRY_MD_SHA1);
fprintf (fp, "fpr:::::::::%s:\n", p);
xfree (p);
+ p = gpgsm_get_keygrip_hexstring (cert);
+ fprintf (fp, "grp:::::::::%s:\n", p?p:"");
+ xfree (p);
if (opt.with_key_data)
print_key_data (cert, fp);