diff options
author | nelson%bolyard.com <devnull@localhost> | 2007-06-13 05:41:31 +0000 |
---|---|---|
committer | nelson%bolyard.com <devnull@localhost> | 2007-06-13 05:41:31 +0000 |
commit | 200c1e04b2b65e77ef92770fa8c97dbda068ce3d (patch) | |
tree | aba7ff2ee4a61aa642e3ad4b632325d0db543c9d /security | |
parent | 270f795c77bdf745dc2d19ccb4148c8d68e70d5f (diff) | |
download | nss-hg-200c1e04b2b65e77ef92770fa8c97dbda068ce3d.tar.gz |
Bug 376748 - Infinite loop in CERT_CertChainFromCert , r=kengert,julien
Diffstat (limited to 'security')
-rw-r--r-- | security/nss/lib/certhigh/certhigh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/certhigh/certhigh.c b/security/nss/lib/certhigh/certhigh.c index 6f5e216cf..513286d6d 100644 --- a/security/nss/lib/certhigh/certhigh.c +++ b/security/nss/lib/certhigh/certhigh.c @@ -1051,8 +1051,8 @@ loser: nssUsage.anyUsage = PR_FALSE; nssUsage.nss3usage = usage; nssUsage.nss3lookingForCA = PR_FALSE; - stanChain = NSSCertificate_BuildChain(stanCert, NULL, &nssUsage, NULL, - NULL, 0, NULL, NULL, td, cc); + stanChain = NSSCertificate_BuildChain(stanCert, NULL, &nssUsage, NULL, NULL, + CERT_MAX_CERT_CHAIN, NULL, NULL, td, cc); if (!stanChain) { PORT_SetError(SEC_ERROR_UNKNOWN_ISSUER); return NULL; |