diff options
author | NIIBE Yutaka <[email protected]> | 2017-01-16 01:26:16 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-01-16 01:26:16 +0000 |
commit | 2e6f1c99d4f66a23a752092397e20a84964edf48 (patch) | |
tree | a8fcfb4e5fd4fd05de790fcbe2aa808c66d9c7e7 /agent/learncard.c | |
parent | build: Make autogen.sh more POSIX friendly (next try) (diff) | |
download | gnupg-2e6f1c99d4f66a23a752092397e20a84964edf48.tar.gz gnupg-2e6f1c99d4f66a23a752092397e20a84964edf48.zip |
scd: Add --demand option for SERIALNO.
* scd/app.c (select_application): Add SERIALNO_BIN and SERIALNO_BIN_LEN
arguments. Return matched APP with a serial number when specified.
* scd/command.c (open_card): Modify for the implicit open only.
(open_card_with_request): New for explicit open and support match with a
serial number.
(cmd_serialno): Support --demand option.
(cmd_learn, cmd_readcert, cmd_readkey, cmd_pksign, cmd_pkauth)
(cmd_pkdecrypt, cmd_getattr, cmd_setattr, cmd_writecert, cmd_writekey)
(cmd_genkey, cmd_random, cmd_passwd, cmd_checkpin, cmd_apdu): Follow
the change of open_card.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/learncard.c')
0 files changed, 0 insertions, 0 deletions