- added some more errors
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1505 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
efb19cafe6
commit
ecc469d570
|
@ -96,6 +96,10 @@ const char *sc_strerror(int error)
|
|||
"No default (transport) key available",
|
||||
"The PKCS#15 Key/certificate ID specified is not unique",
|
||||
"Unable to load key and certificate(s) from file",
|
||||
"Object is not compatible with intended use",
|
||||
"File template not found",
|
||||
"Invalid PIN reference",
|
||||
"File too small",
|
||||
};
|
||||
const int p15i_base = -SC_ERROR_PKCS15INIT;
|
||||
const char *misc_errors[] = {
|
||||
|
|
|
@ -95,6 +95,10 @@ extern "C" {
|
|||
#define SC_ERROR_NO_DEFAULT_KEY -1504
|
||||
#define SC_ERROR_ID_NOT_UNIQUE -1505
|
||||
#define SC_ERROR_CANNOT_LOAD_KEY -1006
|
||||
#define SC_ERROR_INCOMPATIBLE_OBJECT -1007
|
||||
#define SC_ERROR_TEMPLATE_NOT_FOUND -1008
|
||||
#define SC_ERROR_INVALID_PIN_REFERENCE -1009
|
||||
#define SC_ERROR_FILE_TOO_SMALL -1010
|
||||
|
||||
/* Errors that do not fit the categories above */
|
||||
#define SC_ERROR_UNKNOWN -1900
|
||||
|
|
Loading…
Reference in New Issue