aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-piv.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-01-13 11:08:23 +0000
committerWerner Koch <[email protected]>2020-01-13 11:12:57 +0000
commit0e48aa084921c77944d4802c86ac33c607c519af (patch)
tree5ae8ebd9dfef337b4d1a2b4664a1699a6db6664e /scd/app-piv.c
parentagent: handle SSH operation by KEYGRIP. (diff)
downloadgnupg-0e48aa084921c77944d4802c86ac33c607c519af.tar.gz
gnupg-0e48aa084921c77944d4802c86ac33c607c519af.zip
scd: Make SERIALNO --all work correctly and use it.
* scd/app.c (maybe_switch_app): Factor reselect code out to ... (run_reselect): new. (app_write_learn_status): Tweak diagnostics. (app_do_with_keygrip): Run reselect if a card has more than one switchable application. * agent/call-scd.c (agent_card_serialno): Ditto. * tools/card-call-scd.c (start_agent): Use option --all with SERIALNO. (scd_serialno): Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/app-piv.c')
-rw-r--r--scd/app-piv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scd/app-piv.c b/scd/app-piv.c
index be61d562d..d74cf9239 100644
--- a/scd/app-piv.c
+++ b/scd/app-piv.c
@@ -764,13 +764,13 @@ get_dispserialno (app_t app, int failmode)
/* The verify command can be used to retrieve the security status of
- * the card. Given the PIN name (e.g. "PIV.80" for thge application
+ * the card. Given the PIN name (e.g. "PIV.80" for the application
* pin, a status is returned:
*
* -1 = Error retrieving the data,
* -2 = No such PIN,
* -3 = PIN blocked,
- * -5 = Verify still valid,
+ * -5 = Verified and still valid,
* n >= 0 = Number of verification attempts left.
*/
static int