mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Print Yubikey version correctly.
* g10/call-agent.c (learn_status_cb): Parse APPVERSION. * g10/call-agent.h (struct agent_card_info_s): Add field appversion. * g10/card-util.c (print_a_version): New. (current_card_status): Print version from appversion. -- This is a regression due to the PIV support. Note that the newer gpg-card worked correctly. GnuPG-bug-id: 5787
This commit is contained in:
parent
ec4a1cffb8
commit
38e100acb7
3 changed files with 38 additions and 2 deletions
|
@ -32,6 +32,7 @@ struct agent_card_info_s
|
|||
int error; /* private. */
|
||||
char *reader; /* Reader information. */
|
||||
char *apptype; /* Malloced application type string. */
|
||||
unsigned int appversion; /* Version of the application. */
|
||||
unsigned int manufacturer_id;
|
||||
char *manufacturer_name; /* malloced. */
|
||||
char *serialno; /* malloced hex string. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue