diff options
author | Werner Koch <[email protected]> | 2021-01-27 17:31:12 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-01-27 17:31:12 +0000 |
commit | 7620473cd007c074b0625a678caa6105a4c87142 (patch) | |
tree | 3d50435cd1b99321c6493a346731fda987d5c4b3 /scd/apdu.c | |
parent | scd:p15: Factor the commonKeyAttributes parser out. (diff) | |
download | gnupg-7620473cd007c074b0625a678caa6105a4c87142.tar.gz gnupg-7620473cd007c074b0625a678caa6105a4c87142.zip |
scd: Define new status word
* scd/apdu.h (SW_NO_CURRENT_EF): New.
--
This merely to show better diagnostics.
Used for example by CardOS 5.3.
Diffstat (limited to 'scd/apdu.c')
-rw-r--r-- | scd/apdu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/apdu.c b/scd/apdu.c index 9b473d56a..fa0fb7c43 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -548,6 +548,7 @@ apdu_strerror (int rc) 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_NO_CURRENT_EF : return "no current EF selected"; case SW_BAD_PARAMETER : return "bad parameter"; case SW_NOT_SUPPORTED : return "not supported"; case SW_FILE_NOT_FOUND : return "file not found"; |