diff options
author | wtc%netscape.com <devnull@localhost> | 2002-09-05 18:27:47 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2002-09-05 18:27:47 +0000 |
commit | ad16a90f21f71799a58ad282ea5b4c9d60812758 (patch) | |
tree | 199f0e42d823bc06b67b3ee23408ac72133aa74a | |
parent | 45c0848698b0b31e8525478e6b00ae7e1e965d40 (diff) | |
download | nss-hg-ad16a90f21f71799a58ad282ea5b4c9d60812758.tar.gz |
Bug 166894: fixed a bug in the previous checkin. The first argument to
nssToken_FindTrustForCert was incorrect.
Tag: NSS_3_4_BRANCH
-rw-r--r-- | security/nss/lib/pki/pki3hack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/pki/pki3hack.c b/security/nss/lib/pki/pki3hack.c index 9c5ce3955..a5b54ec05 100644 --- a/security/nss/lib/pki/pki3hack.c +++ b/security/nss/lib/pki/pki3hack.c @@ -1057,9 +1057,9 @@ stan_GetTrustToken instance != (nssCryptokiInstance *)NULL; instance = (nssCryptokiInstance *)nssListIterator_Next(instances)) { - NSSTrust *to = nssToken_FindTrustForCert(tok, NULL, c, - nssTokenSearchType_TokenOnly); NSSToken *ctok = instance->token; + NSSTrust *to = nssToken_FindTrustForCert(ctok, NULL, c, + nssTokenSearchType_TokenOnly); PRBool ro = PK11_IsReadOnly(ctok->pk11slot); if (to) { |