mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd: Add a new status word code.
* scd/apdu.h (SW_REF_DATA_INV): New. * scd/apdu.c (apdu_strerror): Add string.
This commit is contained in:
parent
07b64eec14
commit
e49c851ff5
@ -544,6 +544,7 @@ apdu_strerror (int rc)
|
||||
case SW_WRONG_LENGTH : return "wrong length";
|
||||
case SW_CHV_WRONG : return "CHV wrong";
|
||||
case SW_CHV_BLOCKED : return "CHV blocked";
|
||||
case SW_REF_DATA_INV : return "referenced data invalidated";
|
||||
case SW_USE_CONDITIONS : return "use conditions not satisfied";
|
||||
case SW_BAD_PARAMETER : return "bad parameter";
|
||||
case SW_NOT_SUPPORTED : return "not supported";
|
||||
|
@ -36,6 +36,7 @@ enum {
|
||||
SW_CC_NOT_SUP = 0x6884, /* Command Chaining is not supported. */
|
||||
SW_CHV_WRONG = 0x6982,
|
||||
SW_CHV_BLOCKED = 0x6983,
|
||||
SW_REF_DATA_INV = 0x6984, /* Referenced data invalidated. */
|
||||
SW_USE_CONDITIONS = 0x6985,
|
||||
SW_BAD_PARAMETER = 0x6a80, /* (in the data field) */
|
||||
SW_NOT_SUPPORTED = 0x6a81,
|
||||
|
Loading…
x
Reference in New Issue
Block a user