aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-07-24 14:16:53 +0000
committerWerner Koch <[email protected]>2014-07-25 08:58:57 +0000
commite49c851ff54d5ecf856411bf6cdee721695ea172 (patch)
treef999a68f856837de89553561c71c1e7ef8d036cc /scd/apdu.c
parentscd: Comment typo fixes. (diff)
downloadgnupg-e49c851ff54d5ecf856411bf6cdee721695ea172.tar.gz
gnupg-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/apdu.c')
-rw-r--r--scd/apdu.c1
1 files changed, 1 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";