mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
This commit is contained in:
parent
64b7c6fd19
commit
bd15aa34ab
2 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ enum {
|
|||
SW_EOF_REACHED = 0x6282,
|
||||
SW_TERM_STATE = 0x6285, /* Selected file is in termination state. */
|
||||
SW_EEPROM_FAILURE = 0x6581,
|
||||
SW_ACK_TIMEOUT = 0x6600, /* OpenPGPcard: Ack timeout. */
|
||||
SW_WRONG_LENGTH = 0x6700,
|
||||
SW_SM_NOT_SUP = 0x6882, /* Secure Messaging is not supported. */
|
||||
SW_CC_NOT_SUP = 0x6884, /* Command Chaining is not supported. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue