Home GnuPG
Diffusion GnuPG d4e5979c630c

scd: Fix PC/SC error handling at apdu_dev_list_start.

Description

scd: Fix PC/SC error handling at apdu_dev_list_start.

* scd/apdu.c (PCSC_E_NO_READERS_AVAILABLE): Add.
(pcsc_error_to_sw): Handle PCSC_E_NO_READERS_AVAILABLE.
(apdu_dev_list_start): Return error correctly.
  • GnuPG-bug-id: T4864
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 26 2021, 3:24 AM
Parents
rG73bad368dacf: card: Add option --use-default-pin to command "login".
Branches
Unknown
Tags
Unknown
Tasks
T4864: New scdaemon command to watch device removal