- updated pkcs15init error codes

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@747 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
okir 2002-12-04 12:33:43 +00:00
parent 92adeef9a6
commit 2c280fe351
2 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,9 @@ const char *sc_strerror(int error)
"Generic PKCS #15 initialization error",
"Syntax error",
"Inconsistent or incomplete pkcs15 profile",
"Key length/algorithm not supported by card",
"No default (transport) key available",
"The PKCS#15 Key/certificate ID specified is not unique",
};
const int p15i_base = -SC_ERROR_PKCS15INIT;
const char *misc_errors[] = {

View File

@ -83,6 +83,7 @@ extern "C" {
#define SC_ERROR_INCONSISTENT_PROFILE -1502
#define SC_ERROR_INCOMPATIBLE_KEY -1503
#define SC_ERROR_NO_DEFAULT_KEY -1504
#define SC_ERROR_ID_NOT_UNIQUE -1505
/* Errors that do not fit the categories above */
#define SC_ERROR_UNKNOWN -1900