Home GnuPG
Diffusion GnuPG 186d11896ca2

scd: Better handling of timeout and time extension.

Description

scd: Better handling of timeout and time extension.

* scd/ccid-driver.c (CCID_CMD_TIMEOUT_LONGER): Remove.
(ccid_transceive): Don't use x4 blindly for bBWI, but use dynamically
determined value.  Use value from variable wait_more for bulk_in.
Set wait_more by the value of time extension request.

Backport master commit of:

f1cf799a37f320d33cae445c74f3fc1936dd9995

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 4 2019, 8:58 AM
Parents
rG60af035c22b9: scd: Fix internal CCID driver, so that -DTEST works.
Branches
Unknown
Tags
Unknown