mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
g10: Fix print_keygrip for smartcard.
* g10/card-util.c (print_keygrip): Use tty_fprintf. -- Reported-by: Joey Pabalinas <joeypabalinas@gmail.com> Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
66e0bd37ee
commit
627839ea88
@ -274,7 +274,7 @@ print_keygrip (estream_t fp, const unsigned char *grp)
|
|||||||
{
|
{
|
||||||
tty_fprintf (fp, " keygrip ....: ");
|
tty_fprintf (fp, " keygrip ....: ");
|
||||||
for (i=0; i < 20 ; i++, grp++)
|
for (i=0; i < 20 ; i++, grp++)
|
||||||
es_fprintf (fp, "%02X", *grp);
|
tty_fprintf (fp, "%02X", *grp);
|
||||||
tty_fprintf (fp, "\n");
|
tty_fprintf (fp, "\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user