Home GnuPG
Diffusion GnuPG cc420d34880e

scd: Internal CCID reader cleanup.

Description

scd: Internal CCID reader cleanup.

* scd/ccid-reader.c (scan_usb_device): Only for scan mode, so, rename
from scan_or_find_usb_device.
(scan_devices): Likewise.  Remove support of special transport types.
(ccid_get_reader_list): Simplify.
(abort_cmd): Fix error return.
(send_escape_cmd): Fix for RESULTLEN == NULL.
(ccid_transceive_secure): Remove unnecessary var updates.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 7 2017, 6:30 AM
Parents
rG3c93595d701c: scd: Don't keep CCID reader open when card is not available.
Branches
Unknown
Tags
Unknown