mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
card: Allow listing of NKS cards.
* tools/card-call-scd.c (learn_status_cb): Always fill chvinfo. * tools/gpg-card.h (struct card_info_s): Increase size of chvinfo and chvmaxlen. * tools/gpg-card.c (list_nks): New. (print_a_version): Support single part version numbers. (list_card): Call list_nks. -- Note that chvmaxlen is not yet used with NKS. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
1f6a39092f
commit
9496634745
3 changed files with 42 additions and 4 deletions
|
@ -913,7 +913,7 @@ learn_status_cb (void *opaque, const char *line)
|
|||
p++;
|
||||
}
|
||||
}
|
||||
else if (parm->apptype == APP_TYPE_PIV)
|
||||
else
|
||||
{
|
||||
for (i=0; *p && i < DIM (parm->chvinfo); i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue