diff options
author | NIIBE Yutaka <[email protected]> | 2019-02-21 06:16:11 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2019-02-21 06:16:11 +0000 |
commit | bd15aa34ab8ad10adbb7540a8845b4a2600437b6 (patch) | |
tree | dfa874c6fc80f25b8849f003ca03d46b4afa1c50 /scd/apdu.h | |
parent | tests: Add "disable-scdaemon" in gpg-agent.conf. (diff) | |
download | gnupg-bd15aa34ab8ad10adbb7540a8845b4a2600437b6.tar.gz gnupg-bd15aa34ab8ad10adbb7540a8845b4a2600437b6.zip |
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 <[email protected]>
Diffstat (limited to 'scd/apdu.h')
-rw-r--r-- | scd/apdu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/apdu.h b/scd/apdu.h index 1392aab71..89df45cb8 100644 --- a/scd/apdu.h +++ b/scd/apdu.h @@ -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. */ |