- 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:
okir 2002-04-03 11:51:07 +00:00
parent 369889ace5
commit 0683b3463f
2 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,8 @@ extern "C" {
#define SC_ERROR_SLOT_NOT_FOUND -1034
#define SC_ERROR_SLOT_ALREADY_CONNECTED -1035
#define SC_ERROR_AUTH_METHOD_BLOCKED -1036
#define SC_ERROR_SYNTAX_ERROR -1037
#define SC_ERROR_INCONSISTENT_PROFILE -1038
/* Different APDU cases */
#define SC_APDU_CASE_NONE 0

View File

@ -210,6 +210,8 @@ const char *sc_strerror(int error)
"Slot not found",
"Slot already connected",
"Authentication method blocked",
"Syntax error",
"Inconsistent or incomplete pkcs15 profile",
};
int nr_errors = sizeof(errors) / sizeof(errors[0]);