Home GnuPG
Diffusion GnuPG 4f88b0f56134

scd: Fix for inactive card at start by internal CCID driver.

Description

scd: Fix for inactive card at start by internal CCID driver.

* scd/ccid-driver.c (do_close_reader): Set NULL on close.
(bulk_in): Move DEBUGOUT and check by EP_INTR.
(ccid_get_atr): Clear powered_off flag after initial status check.

Many card readers automatically turn on inserted card, but some
defaults to turning off at start.

  • GnuPG-bug-id: T3508
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Dec 27 2017, 9:20 AM
Parents
rGa6849888295f: build: Increase libassuan min version to 2.5.0
Branches
Unknown
Tags
Unknown
Tasks
T3508: GPG 2.2.2 not recognizing card reader under Linux