Revert SCD changes of 2010-05-03 (scd/ChangeLog 2010-03-17).
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Dec 2012 01:31:37 +0000 (10:31 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Dec 2012 01:31:37 +0000 (10:31 +0900)
commit0d7cf7bb0669ca280e6259a9c34612a8ff56acda
tree0c318811cdbbd879a4e58a8b3d0c7007cd0f6220
parent9afd2bb7fb9067eb8c753a5e5f672a36e93b2474
Revert SCD changes of 2010-05-03 (scd/ChangeLog 2010-03-17).

* scd/apdu.c (pcsc_no_service): Remove.
(open_pcsc_reader_direct, open_pcsc_reader_wrapped): Remove
pcsc_no_service support.
(apdu_open_reader): Remove R_NO_SERVICE.
* scd/apdu.h (apdu_open_reader): Remove R_NO_SERVICE.
* scd/command.c (reader_disabled): Remove.
(get_reader_slot): Follow the change of R_NO_SERVICE.
(open_card, cmd_serialno, scd_command_handler): Remove reader_disabled
support.
* scd/sc-copykeys.c (main): Follow the change of R_NO_SERVICE.
--
Daemon should handle all possible cases.  Even if such a difficult
case like reader_disabled, it should not exit.
scd/apdu.c
scd/apdu.h
scd/command.c
scd/sc-copykeys.c