Home GnuPG
Diffusion GnuPG 1e1326aeb892

Revert SCD changes of 2010-05-03.
1e1326aeb892Unpublished

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/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.

Details

Provenance
gniibeAuthored on Dec 4 2012, 6:37 AM
wernerCommitted on Dec 4 2012, 10:48 AM
Parents
rGbaf7b09e124f: Don't keep opening unavailable card reader.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG1e1326aeb892: Revert SCD changes of 2010-05-03. (authored by NIIBE Yutaka <gniibe@fsij.org>).Dec 4 2012, 10:48 AM