- 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:
parent
92adeef9a6
commit
2c280fe351
|
@ -79,6 +79,9 @@ const char *sc_strerror(int error)
|
||||||
"Generic PKCS #15 initialization error",
|
"Generic PKCS #15 initialization error",
|
||||||
"Syntax error",
|
"Syntax error",
|
||||||
"Inconsistent or incomplete pkcs15 profile",
|
"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 int p15i_base = -SC_ERROR_PKCS15INIT;
|
||||||
const char *misc_errors[] = {
|
const char *misc_errors[] = {
|
||||||
|
|
|
@ -83,6 +83,7 @@ extern "C" {
|
||||||
#define SC_ERROR_INCONSISTENT_PROFILE -1502
|
#define SC_ERROR_INCONSISTENT_PROFILE -1502
|
||||||
#define SC_ERROR_INCOMPATIBLE_KEY -1503
|
#define SC_ERROR_INCOMPATIBLE_KEY -1503
|
||||||
#define SC_ERROR_NO_DEFAULT_KEY -1504
|
#define SC_ERROR_NO_DEFAULT_KEY -1504
|
||||||
|
#define SC_ERROR_ID_NOT_UNIQUE -1505
|
||||||
|
|
||||||
/* Errors that do not fit the categories above */
|
/* Errors that do not fit the categories above */
|
||||||
#define SC_ERROR_UNKNOWN -1900
|
#define SC_ERROR_UNKNOWN -1900
|
||||||
|
|
Loading…
Reference in New Issue