diff options
author | Werner Koch <wk@gnupg.org> | 2021-04-01 10:34:06 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2021-04-01 10:34:06 +0200 |
commit | c727951a2440913bbab5b250c9bd2bb1d35ab0d7 (patch) | |
tree | fb90571a1ac0749129287fd21955251d2ed8d360 /tools/gpg-card.h | |
parent | scd: New flag --reread for LEARN (diff) | |
download | gnupg2-c727951a2440913bbab5b250c9bd2bb1d35ab0d7.tar.xz gnupg2-c727951a2440913bbab5b250c9bd2bb1d35ab0d7.zip |
card: New flag --reread for LIST.
* tools/gpg-card.c (cmd_list): Add flag --reread.
* tools/card-call-scd.c (scd_learn): New arg reread.
* tools/card-call-scd.c (release_card_info): Fix releasing of the new
label var.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/gpg-card.h')
-rw-r--r-- | tools/gpg-card.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-card.h b/tools/gpg-card.h index b79d12d0d..0407da12e 100644 --- a/tools/gpg-card.h +++ b/tools/gpg-card.h @@ -227,7 +227,7 @@ gpg_error_t scd_apdu (const char *hexapdu, const char *options, gpg_error_t scd_switchcard (const char *serialno); gpg_error_t scd_switchapp (const char *appname); -gpg_error_t scd_learn (card_info_t info); +gpg_error_t scd_learn (card_info_t info, int reread); gpg_error_t scd_getattr (const char *name, struct card_info_s *info); gpg_error_t scd_setattr (const char *name, const unsigned char *value, size_t valuelen); |