gnupg/scd
NIIBE Yutaka 99d4dfe836 scd: Fix RESET command handling (more).
* scd/app-common.h (struct app_ctx_s): Add reset_requested.
* scd/app.c (app_reset): Locking APP, set reset_requested.
(deallocate_app): Release the lock.
(release_application): Add LOCKED_ALREADY argument.
(scd_update_reader_status_file): Hold the lock when accessing APP.
When reset_requested is set, close the reader and deallocate APP.
* scd/command.c (open_card_with_request, cmd_restart): Follow the
change of release_application.
(send_client_notifications): Here it calls release_application holding
the lock.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2017-02-17 11:50:40 +09:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
apdu.c scd: Fix use case of PC/SC. 2017-02-13 11:09:13 +09:00
apdu.h scd: Fix use case of PC/SC. 2017-02-13 11:09:13 +09:00
app-common.h scd: Fix RESET command handling (more). 2017-02-17 11:50:40 +09:00
app-dinsig.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-geldkarte.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-help.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-nks.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app-openpgp.c scd: Cleanup SERIALNO protocol. 2017-01-18 16:03:47 +09:00
app-p15.c Fix format string errors and some missing error case initialization. 2017-01-23 16:33:01 +01:00
app-sc-hsm.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
app.c scd: Fix RESET command handling (more). 2017-02-17 11:50:40 +09:00
atr.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd: Fix SERIALNO for multiple devices. 2017-01-31 13:04:22 +09:00
ccid-driver.h scd: Fix GetSlotStatus. 2017-01-30 09:32:03 +09:00
command.c scd: Fix RESET command handling (more). 2017-02-17 11:50:40 +09:00
iso7816.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
iso7816.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c scd: Minor fixes to silence compiler warnings. 2017-02-16 11:49:37 +09:00
scdaemon.h scd: Fix regression tracking the connection count. 2017-02-01 08:58:01 +09:00