summaryrefslogtreecommitdiffstats
path: root/sm/keylist.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-03-25 17:05:16 +0100
committerWerner Koch <wk@gnupg.org>2009-03-25 17:05:16 +0100
commitceb42db4dd6b98d6b31429bed2ca40505731b9e8 (patch)
treee471d7b311d3c73dc55a3a1f420233dd847b16a2 /sm/keylist.c
parentlog file fixes. (diff)
downloadgnupg2-ceb42db4dd6b98d6b31429bed2ca40505731b9e8.tar.xz
gnupg2-ceb42db4dd6b98d6b31429bed2ca40505731b9e8.zip
Print NO_SECKEY status line in gpgsm.
This fixes bug#1020.
Diffstat (limited to 'sm/keylist.c')
-rw-r--r--sm/keylist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/keylist.c b/sm/keylist.c
index 78f919d8f..2de1708a8 100644
--- a/sm/keylist.c
+++ b/sm/keylist.c
@@ -672,7 +672,7 @@ list_cert_raw (ctrl_t ctrl, KEYDB_HANDLE hd,
(void)have_secret;
es_fprintf (fp, " ID: 0x%08lX\n",
- gpgsm_get_short_fingerprint (cert));
+ gpgsm_get_short_fingerprint (cert, NULL));
sexp = ksba_cert_get_serial (cert);
es_fputs (" S/N: ", fp);
@@ -1042,7 +1042,7 @@ list_cert_std (ctrl_t ctrl, ksba_cert_t cert, estream_t fp, int have_secret,
(void)have_secret;
es_fprintf (fp, " ID: 0x%08lX\n",
- gpgsm_get_short_fingerprint (cert));
+ gpgsm_get_short_fingerprint (cert, NULL));
sexp = ksba_cert_get_serial (cert);
es_fputs (" S/N: ", fp);