Home GnuPG
Diffusion GnuPG 0d7cf7bb0669

Revert SCD changes of 2010-05-03 (scd/ChangeLog 2010-03-17).
0d7cf7bb0669Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

Details

Provenance
gniibeAuthored on Dec 7 2012, 2:31 AM
Parents
rG9afd2bb7fb90: Don't keep opening unavailable card reader.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG0d7cf7bb0669: Revert SCD changes of 2010-05-03 (scd/ChangeLog 2010-03-17). (authored by NIIBE Yutaka <gniibe@fsij.org>).Dec 7 2012, 2:31 AM