Fix for bug 337789 . PK11_FindKeyByAnyCert doe snot work if softoken is in FIPS140-2 mode. r=wtchang, rrelyea, nelson
authorjulien.pierre.bugs%sun.com
Wed, 17 Aug 2011 05:01:46 +0000
changeset 10078 db2747113a01ba3ddf40f216e2c6fe5ce53849d2
parent 10077 6afa08dbb4594019cdfdfb899a1171269d2710cb
child 10079 88a34585ef850f62fab46d3cc4bd617aa85285f5
push idunknown
push userunknown
push dateunknown
reviewerswtchang, rrelyea, nelson
bugs337789
Fix for bug 337789 . PK11_FindKeyByAnyCert doe snot work if softoken is in FIPS140-2 mode. r=wtchang, rrelyea, nelson
security/nss/lib/util/SECerrs.h
--- a/security/nss/lib/util/SECerrs.h
+++ b/security/nss/lib/util/SECerrs.h
@@ -499,8 +499,18 @@ ER3(SEC_ERROR_CRL_UNKNOWN_CRITICAL_EXTEN
 ER3(SEC_ERROR_UNKNOWN_OBJECT_TYPE,	        (SEC_ERROR_BASE + 150),
 "Unknown object type specified.")
 
 ER3(SEC_ERROR_INCOMPATIBLE_PKCS11,	        (SEC_ERROR_BASE + 151),
 "PKCS #11 driver violates the spec in an incompatible way.")
 
 ER3(SEC_ERROR_NO_EVENT,	        		(SEC_ERROR_BASE + 152),
 "No new slot event is available at this time.")
+
+ER3(SEC_ERROR_CRL_ALREADY_EXISTS,      		(SEC_ERROR_BASE + 153),
+"CRL already exists.")
+
+ER3(SEC_ERROR_NOT_INITIALIZED,      		(SEC_ERROR_BASE + 154),
+"NSS is not initialized.")
+
+ER3(SEC_ERROR_TOKEN_NOT_LOGGED_IN,  		(SEC_ERROR_BASE + 155),
+"The operation failed because the PKCS#11 token is not logged in.")
+