diff options
| author | Werner Koch <[email protected]> | 2019-09-04 10:08:07 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2019-09-04 10:08:07 +0000 |
| commit | 5cf5a04bae03d622a42753735c60dfab3b24ade8 (patch) | |
| tree | 7c404442c779861db16ee7a41e2180cdd85adb9d /scd/scdaemon.c | |
| parent | scd: Use a macro for the flag parameter of learn_status. (diff) | |
| download | gnupg-5cf5a04bae03d622a42753735c60dfab3b24ade8.tar.gz gnupg-5cf5a04bae03d622a42753735c60dfab3b24ade8.zip | |
scd: Add option --multi to the LEARN command.
* scd/app-common.h (APP_LEARN_FLAG_MULTI): New.
* scd/command.c (cmd_learn): Add option --multi.
* scd/app.c (app_write_learn_status): Factor some code out to ...
(write_learn_status_core): new.
(app_write_learn_status): Implement flag --multi.
--
This new option is intended to return information about all active
applications of the current card. Thus if a "SERIALNO openpgp" and a
"SERIALNO piv" has been done in a session the command "LEARN --force
--multi" returns information about both applications.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/scdaemon.c')
0 files changed, 0 insertions, 0 deletions
