g10: Fix printing the keygrip with --card-status.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 25 Apr 2018 00:37:21 +0000 (09:37 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 25 Apr 2018 00:37:21 +0000 (09:37 +0900)
* g10/card-util.c (current_card_status): Keygrip for Auth is 3.

--

Fixes-commit: fd595c9d3642dba437fbe0f6e25d7aaaae095f94
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/card-util.c

index 1a249fb..3148de0 100644 (file)
@@ -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..: ");