Map Store_locked to proper error code.

This commit is contained in:
Jim Norman 2006-10-17 22:13:11 +00:00
parent ce68c1352a
commit e55ae34077
2 changed files with 4 additions and 1 deletions

View File

@ -155,6 +155,7 @@ typedef struct _sscs_ext_t
#define NSSCS_E_CERTIFICATE_NOT_FOUND 0xFFFFFCAB /* -853 */
#define NSSCS_E_CANT_OPEN_CLIENT_CACHE 0xFFFFFCAA /* -854 */
#define NSSCS_E_WRONG_SH_SEC_TYPE 0xFFFFFCA9 /* -855 */
#define NSSCS_E_STORE_IS_LOCKED 0xFFFFFCA8 /* -856 */
#define NSSCS_E_NOT_IMPLEMENTED 0xFFFFFC88 /* -888 */
#define NSSCS_E_BETA_EXPIRED 0xFFFFFC7D /* -899 */
@ -329,6 +330,8 @@ typedef struct _sscs_ext_t
NSSCS_E_WRONG_SH_SEC_TYPE -855
Description: Unrecognized or unknown shared secret tag.
NSSCS_E_STORE_IS_LOCKED -856
Description: Indicates that the user locked the store to prevent access.
NSSCS_E_NOT_IMPLEMENTED -888
Description: Feature not implemented yet.

View File

@ -54,7 +54,7 @@ int32_t static gReturnCodes[27] = {
NSSCS_E_SYSTEM_FAILURE, //SSCS_STORE_IS_NOT_PERSISTENT = -23;
NSSCS_E_SYSTEM_FAILURE, //SSCS_SECRET_IS_PERSISTENT = -24;
NSSCS_E_SYSTEM_FAILURE, //SSCS_SECRET_IS_NOT_PERSISTENT = -25;
NSSCS_E_ACCESS_DENIED //SSCS_SECRET_STORE_IS_LOCKED = -26;
NSSCS_E_STORE_IS_LOCKED //SSCS_SECRET_STORE_IS_LOCKED = -26;
};
/*-----------------------------------------------------------------------------