scd: Handle ack button timeout as GPG_ERR_TIMEOUT.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 21 Feb 2019 06:16:11 +0000 (15:16 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 21 Feb 2019 06:16:11 +0000 (15:16 +0900)
commitbd15aa34ab8ad10adbb7540a8845b4a2600437b6
treedfa874c6fc80f25b8849f003ca03d46b4afa1c50
parent64b7c6fd1945bc206cf56979633dfca8a7494374
scd: Handle ack button timeout as GPG_ERR_TIMEOUT.

* scd/apdu.h (SW_ACK_TIMEOUT): New.
* scd/iso7816.c (map_sw): Return GPG_ERR_TIMEOUT for SW_ACK_TIMEOUT.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/apdu.h
scd/iso7816.c