Revert SCD changes of 2010-05-03.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 4 Dec 2012 05:37:56 +0000 (14:37 +0900)
committerWerner Koch <wk@gnupg.org>
Tue, 4 Dec 2012 09:48:20 +0000 (10:48 +0100)
commit1e1326aeb8923782138e133f091afec41d969c40
treefddf46b54ec4bfb1c7fdd2ce318dafd86aa36bd2
parentbaf7b09e124f9eb4ca4b8ee02474ee7710a95a40
Revert SCD changes of 2010-05-03.

* 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_current_reader): 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