Diffusion GnuPG 91e2931caac9

scd: Track the currently selected app.

Authored by werner on Jun 21 2019, 10:47 AM.

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

Committed
wernerJun 21 2019, 11:42 AM
Parents
rG43dcf93407d6: scd: Simplify inclusion of app-common.h.
Branches
Unknown
Tags
Unknown