summaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2019-08-21 02:57:52 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2019-08-21 05:01:21 +0200
commit09d000babb71990ef1b3f42017a67516bb994388 (patch)
tree3614b7dc47f0443c3e2ef036699e6e906e3c8bd1 /scd/scdaemon.h
parentscd: Fix switching to another APP. (diff)
downloadgnupg2-09d000babb71990ef1b3f42017a67516bb994388.tar.xz
gnupg2-09d000babb71990ef1b3f42017a67516bb994388.zip
scd: Fix resetting CARD_CTX.
* scd/app.c (deallocate_card): Don't call scd_clear_current_app. (card_reset): Reset ctrl->current_apptype. * scd/command.c (open_card_with_request): Likewise. (send_client_notifications): Likewise. (scd_clear_current_app): Remove. -- It's too late to call scd_clear_current_app from deallocate_card, because CARD_CTX is already reset. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'scd/scdaemon.h')
-rw-r--r--scd/scdaemon.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index b709b1cbc..80c6a8cdf 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -127,7 +127,6 @@ const char *scd_get_socket_name (void);
/*-- command.c --*/
gpg_error_t initialize_module_command (void);
int scd_command_handler (ctrl_t, int);
-void scd_clear_current_app (card_t card);
void send_status_info (ctrl_t ctrl, const char *keyword, ...)
GPGRT_ATTR_SENTINEL(1);
void send_status_direct (ctrl_t ctrl, const char *keyword, const char *args);