Home GnuPG
Diffusion GnuPG 91e2931caac9

scd: Track the currently selected app.

Description

scd: Track the currently selected app.

* scd/scdaemon.h (struct server_control_s): Add 'current_apptype'.
* scd/command.c (scd_clear_current_app): New.
* scd/app.c (app_new_register): Set it.
(deallocate_card): Clear it.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 21 2019, 10:47 AM
Parents
rG43dcf93407d6: scd: Simplify inclusion of app-common.h.
Branches
Unknown
Tags
Unknown