- added two new error codes for pkcs15init
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@426 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
369889ace5
commit
0683b3463f
|
@ -84,6 +84,8 @@ extern "C" {
|
||||||
#define SC_ERROR_SLOT_NOT_FOUND -1034
|
#define SC_ERROR_SLOT_NOT_FOUND -1034
|
||||||
#define SC_ERROR_SLOT_ALREADY_CONNECTED -1035
|
#define SC_ERROR_SLOT_ALREADY_CONNECTED -1035
|
||||||
#define SC_ERROR_AUTH_METHOD_BLOCKED -1036
|
#define SC_ERROR_AUTH_METHOD_BLOCKED -1036
|
||||||
|
#define SC_ERROR_SYNTAX_ERROR -1037
|
||||||
|
#define SC_ERROR_INCONSISTENT_PROFILE -1038
|
||||||
|
|
||||||
/* Different APDU cases */
|
/* Different APDU cases */
|
||||||
#define SC_APDU_CASE_NONE 0
|
#define SC_APDU_CASE_NONE 0
|
||||||
|
|
|
@ -210,6 +210,8 @@ const char *sc_strerror(int error)
|
||||||
"Slot not found",
|
"Slot not found",
|
||||||
"Slot already connected",
|
"Slot already connected",
|
||||||
"Authentication method blocked",
|
"Authentication method blocked",
|
||||||
|
"Syntax error",
|
||||||
|
"Inconsistent or incomplete pkcs15 profile",
|
||||||
};
|
};
|
||||||
int nr_errors = sizeof(errors) / sizeof(errors[0]);
|
int nr_errors = sizeof(errors) / sizeof(errors[0]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue