- new error code SC_ERROR_CANNOT_LOAD_KEY
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1016 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
44995d388d
commit
90598ef590
|
@ -90,6 +90,7 @@ const char *sc_strerror(int error)
|
||||||
"Key length/algorithm not supported by card",
|
"Key length/algorithm not supported by card",
|
||||||
"No default (transport) key available",
|
"No default (transport) key available",
|
||||||
"The PKCS#15 Key/certificate ID specified is not unique",
|
"The PKCS#15 Key/certificate ID specified is not unique",
|
||||||
|
"Unable to load key and certificate(s) from file",
|
||||||
};
|
};
|
||||||
const int p15i_base = -SC_ERROR_PKCS15INIT;
|
const int p15i_base = -SC_ERROR_PKCS15INIT;
|
||||||
const char *misc_errors[] = {
|
const char *misc_errors[] = {
|
||||||
|
|
|
@ -92,6 +92,7 @@ extern "C" {
|
||||||
#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
|
#define SC_ERROR_ID_NOT_UNIQUE -1505
|
||||||
|
#define SC_ERROR_CANNOT_LOAD_KEY -1006
|
||||||
|
|
||||||
/* 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