diff options
author | Werner Koch <wk@gnupg.org> | 2014-07-24 16:16:53 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-07-25 10:58:57 +0200 |
commit | e49c851ff54d5ecf856411bf6cdee721695ea172 (patch) | |
tree | f999a68f856837de89553561c71c1e7ef8d036cc /scd | |
parent | scd: Comment typo fixes. (diff) | |
download | gnupg2-e49c851ff54d5ecf856411bf6cdee721695ea172.tar.xz gnupg2-e49c851ff54d5ecf856411bf6cdee721695ea172.zip |
scd: Add a new status word code.
* scd/apdu.h (SW_REF_DATA_INV): New.
* scd/apdu.c (apdu_strerror): Add string.
Diffstat (limited to 'scd')
-rw-r--r-- | scd/apdu.c | 1 | ||||
-rw-r--r-- | scd/apdu.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scd/apdu.c b/scd/apdu.c index 609103f7e..476723a38 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -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"; diff --git a/scd/apdu.h b/scd/apdu.h index 37f9f433c..2e518b1b6 100644 --- a/scd/apdu.h +++ b/scd/apdu.h @@ -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, |