summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorian.mcgreer%sun.com <devnull@localhost>2002-09-13 20:20:05 +0000
committerian.mcgreer%sun.com <devnull@localhost>2002-09-13 20:20:05 +0000
commitae89f82b12afd2d0b8376d2226be7038cb1c9972 (patch)
tree9871af206b4e23cef973ded5bf10d13962dbfc22
parent83c278b69d109b0bc296068fa8ee44eb06b4aa93 (diff)
downloadnss-hg-ae89f82b12afd2d0b8376d2226be7038cb1c9972.tar.gz
bug 168309, remove the limit on token cached certs
r=wtc
-rw-r--r--security/nss/lib/pki/pki3hack.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/nss/lib/pki/pki3hack.c b/security/nss/lib/pki/pki3hack.c
index a5b54ec05..b6e8f7c72 100644
--- a/security/nss/lib/pki/pki3hack.c
+++ b/security/nss/lib/pki/pki3hack.c
@@ -112,11 +112,6 @@ cache_token_cert(NSSCertificate *c, void *arg)
NSSToken *token = (NSSToken *)arg;
NSSTrustDomain *td = STAN_GetDefaultTrustDomain();
NSSCertificate *cp = nssCertificate_AddRef(c);
- if (nssList_Count(token->certList) > NSSTOKEN_MAX_LOCAL_CERTS) {
- nssToken_DestroyCertList(token, PR_TRUE);
- /* terminate the traversal */
- return PR_FAILURE;
- }
nssTrustDomain_AddCertsToCache(td, &c, 1);
if (cp == c) {
NSSCertificate_Destroy(cp);