aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-04-25 00:37:21 +0000
committerNIIBE Yutaka <[email protected]>2018-04-25 00:37:21 +0000
commit71903eee89496e3f1d0a24536bced6ff16df6783 (patch)
treea4da078a18502918948d5c0009186356f033b6aa
parentdirmngr: Fallback to CRL if no default OCSP responder is configured. (diff)
downloadgnupg-71903eee89496e3f1d0a24536bced6ff16df6783.tar.gz
gnupg-71903eee89496e3f1d0a24536bced6ff16df6783.zip
g10: Fix printing the keygrip with --card-status.
* g10/card-util.c (current_card_status): Keygrip for Auth is 3. -- Fixes-commit: fd595c9d3642dba437fbe0f6e25d7aaaae095f94 Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--g10/card-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/card-util.c b/g10/card-util.c
index 1a249fb81..3148de0fa 100644
--- a/g10/card-util.c
+++ b/g10/card-util.c
@@ -633,7 +633,7 @@ current_card_status (ctrl_t ctrl, estream_t fp,
{
tty_fprintf (fp, " created ....: %s\n",
isotimestamp (info.fpr3time));
- print_keygrip (fp, info.grp2);
+ print_keygrip (fp, info.grp3);
}
tty_fprintf (fp, "General key info..: ");