Home GnuPG
Diffusion GnuPG f1cf799a37f3

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.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 4 2019, 8:58 AM
Parents
rG2c9b68f28de1: gpg: Improve the code to decrypt using PIV cards.
Branches
Unknown
Tags
Unknown