summaryrefslogtreecommitdiff
path: root/security/nss/lib/base
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-01-08 21:48:47 +0000
committerwtc%netscape.com <devnull@localhost>2003-01-08 21:48:47 +0000
commit1d1b76dc3dac764183e9ba381a9553f35dce4d5b (patch)
tree8a290f3be0c1d8f09b735a5ae98d80d1eaa7fe53 /security/nss/lib/base
parent8edd03cd1eb2f8c8b3d5b32750c3921cae66c9b9 (diff)
downloadnss-hg-1d1b76dc3dac764183e9ba381a9553f35dce4d5b.tar.gz
Bug 186586: If at NSS shutdown there are still certs in the cert caches,
cause NSS shutdown and the next NSS initialization to fail but do not destroy the cert caches (and the crypto context and trust domain containing them) to avoid a crash if the NSS client destroys the certs later. New error codes needed to be added to indicate the failure of NSS shutdown and NSS initialization due to this cause. Modified Files: base/errorval.c nss/nssinit.c pki/pki3hack.c pki/pki3hack.h pki/pkistore.c pki/pkistore.h pki/tdcache.c pki/trustdomain.c util/secerr.h
Diffstat (limited to 'security/nss/lib/base')
-rw-r--r--security/nss/lib/base/errorval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/nss/lib/base/errorval.c b/security/nss/lib/base/errorval.c
index 7a5892d92..88e406c84 100644
--- a/security/nss/lib/base/errorval.c
+++ b/security/nss/lib/base/errorval.c
@@ -88,4 +88,6 @@ const NSSError NSS_ERROR_CERTIFICATE_IN_CACHE = 32;
const NSSError NSS_ERROR_HASH_COLLISION = 33;
const NSSError NSS_ERROR_DEVICE_ERROR = 34;
const NSSError NSS_ERROR_INVALID_CERTIFICATE = 35;
+const NSSError NSS_ERROR_BUSY = 36;
+const NSSError NSS_ERROR_ALREADY_INITIALIZED = 37;