aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-01-26 07:54:40 +0000
committerNIIBE Yutaka <[email protected]>2017-01-26 07:54:40 +0000
commitbb5ceb78c333129a44c0144f2cf49b17ede898f1 (patch)
treed044d6a5430053eec0464606de085f4d1763873a /scd/app.c
parentgpg: Fix searching for mail addresses in keyrings. (diff)
downloadgnupg-bb5ceb78c333129a44c0144f2cf49b17ede898f1.tar.gz
gnupg-bb5ceb78c333129a44c0144f2cf49b17ede898f1.zip
scd: Add INTERRUPT endp support to CCID driver.
* scd/app.c (scd_update_reader_status_file): Fix releas of APP. * scd/ccid-driver.c (struct ccid_driver_s): Add INTR_BUF. (intr_cb, ccid_setup_intr): New. (ccid_open_usb_reader): Call ccid_setup_intr. (ccid_slot_status): Return CCID_DRIVER_ERR_NO_READER when removed. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/app.c')
-rw-r--r--scd/app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/app.c b/scd/app.c
index b10a452d6..88a38010d 100644
--- a/scd/app.c
+++ b/scd/app.c
@@ -1049,6 +1049,7 @@ scd_update_reader_status_file (void)
{
log_debug ("Removal of a card: %d\n", a->slot);
apdu_close_reader (a->slot);
+ release_application_internal (a);
deallocate_app (a);
}
else