nelson%bolyard.com
66b256f7b3
Bug 468532: Trusted CA trust flags not being honored in CERT_VerifyCert
...
r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@256154 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-09 07:51:30 +00:00
nelson%bolyard.com
99f5c75141
Bug 434099: NSS relies on unchecked PKCS#11 object attribute values, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@252344 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-14 04:38:32 +00:00
wtc%google.com
4b9b8481f8
Bug 434187: merged nssCertificateStore_Check into
...
nssCertificateStore_Unlock because these two functions were always called
together. r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@252144 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-06 01:19:31 +00:00
julien.pierre.boogz%sun.com
3b557e654d
Fix for bug 353577 . Delete PURE_STAN code and code outside NSS_3_4_CODE . r=wtc,nelson
...
git-svn-id: svn://10.0.0.236/trunk@239526 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 05:29:27 +00:00
alexei.volkov.bugs%sun.com
8e4aef2827
353895: klocwork Null ptr derefs in pki/pkibase.c. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@217794 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 00:25:05 +00:00
alexei.volkov.bugs%sun.com
de71adc5ae
353375: Klocwork 76513 - Null ptr deref in nssCertificateList_DoCallback. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@213355 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-09 18:51:55 +00:00
alexei.volkov.bugs%sun.com
d3b79bf6f0
353371: Klocwork 91117 - Null Pointer Dereference in CERT_CertChainFromCert. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@213354 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-09 18:45:02 +00:00
julien.pierre.bugs%sun.com
600a141f4c
Fix for bug 225525 . Resolve race assigning NSSCertificate fields which leaked memory and slot reference. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@208124 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 22:54:11 +00:00
nelson%bolyard.com
4da77ec812
Eliminate a crash and plug a leak in the error path for function
...
nssSMIMEProfile_Create. Coverity bug 337101. r=alexei.volkov.
git-svn-id: svn://10.0.0.236/trunk@197968 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-18 23:31:17 +00:00
julien.pierre.bugs%sun.com
145d6ac5e1
Fix for bug 311164 . Initialize stan cert store object early to fix a race condition. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@193801 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 05:49:04 +00:00
wtchang%redhat.com
309c90b3da
Bugzilla bug 300068: fixed the bug that "collection" is used uninitialized
...
if "td", "c", or "cc" is NULL. The patch is contributed by Wolfgang
Rosenauer <mozilla@rosenauer.org>. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@175842 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 17:06:15 +00:00
wtchang%redhat.com
0f1b53544d
Bugzilla Bug 298962: Removed dead code: nssBestCertificate_SetArgs,
...
nssBestCertificate_Callback, and nssBestCertificateCB. r=jpierre,nelsonb.
Modified files: certificate.c pkitm.h
git-svn-id: svn://10.0.0.236/trunk@175234 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 17:55:29 +00:00
wtchang%redhat.com
b6f31e5070
Bugzilla Bug 295754: moved duplicate function subject_list_sort to
...
certificate.c and renamed it nssCertificate_SubjectListSort.
r=relyea,nelsonb.
Modified files: certificate.c pkim.h pkistore.c tdcache.c
git-svn-id: svn://10.0.0.236/trunk@175181 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-27 21:50:06 +00:00
wtchang%redhat.com
68afcb2227
Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files.
...
This keyword adds noise to the output of "ident libnss3.so | grep NSS"
on our debug build, and appears to cause spurious CVS conflicts. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@168042 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 02:25:51 +00:00
ian.mcgreer%sun.com
f7fd7e85b4
bug 180268, reimplement ssl step-up for builtins
...
git-svn-id: svn://10.0.0.236/trunk@156475 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 20:08:38 +00:00
gerv%gerv.net
43cb9e1492
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
nelsonb%netscape.com
47bae21d3c
Enable a chain to validate when a perm cert has been issued by a
...
temp cert. Bug 233038. r=ian,relyea
git-svn-id: svn://10.0.0.236/trunk@152459 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 07:17:31 +00:00
nelsonb%netscape.com
15b7b08f9e
Detect empty emailAddr strings in CERTCertificates. Bugzilla bug 211540.
...
Modified Files:
cmd/dbck/dbck.c cmd/signtool/util.c lib/certdb/certdb.c
lib/certdb/stanpcertdb.c lib/pkcs7/p7decode.c lib/pki/certificate.c
lib/pki/pki3hack.c lib/smime/cmssiginfo.c lib/softoken/pkcs11u.c
git-svn-id: svn://10.0.0.236/trunk@149330 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 00:10:01 +00:00
nelsonb%netscape.com
5bf80de578
Workaround race. Reduce leaks. Not a real fix. Bugzilla bug 225525.
...
git-svn-id: svn://10.0.0.236/trunk@149230 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 03:41:32 +00:00
wtc%netscape.com
1cbc8808cd
Bugzilla bug 214695: fixed incorrect use of PR_AtomicDecrement on reference
...
counts. The reference count should not be read "naked". Instead, we
should simply use the return value of PR_AtomicDecrement for the result of
the decrement.
Modified Files: dev/devmod.c dev/devslot.c dev/devtoken.c pki/certificate.c
pki/pkibase.c
git-svn-id: svn://10.0.0.236/trunk@145445 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 02:02:47 +00:00
jpierre%netscape.com
3e4fd60532
Fix for 190424 - don't query CKA_NETSCAPE_EMAIL attribute. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@137124 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 05:12:10 +00:00
ian.mcgreer%sun.com
ac48db6445
bug 177366, clean up refcounting
...
r=relyea
git-svn-id: svn://10.0.0.236/trunk@133173 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 18:53:55 +00:00
ian.mcgreer%sun.com
afc9d90049
bug 171224, changes to path construction
...
r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@130884 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 14:32:15 +00:00
nelsonb%netscape.com
ce59d4e445
Change coding style used in nss/lib/pki to one that works with ctags.
...
Bug 169999. Modified Files:
asymmkey.c certdecode.c certificate.c cryptocontext.c pki3hack.c
pkibase.c pkistore.c symmkey.c tdcache.c trustdomain.c
git-svn-id: svn://10.0.0.236/trunk@130289 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 21:32:35 +00:00
wtc%netscape.com
16ce983004
Bugs 166734 and 166785: fixed compiler warnings reported by gcc on Linux.
...
The patch for this checkin is attached to bug 166785.
git-svn-id: svn://10.0.0.236/trunk@128926 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 00:27:52 +00:00
jpierre%netscape.com
10bc1a61c0
Implement the CRL cache . Bug 149854
...
git-svn-id: svn://10.0.0.236/trunk@128594 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 22:57:03 +00:00
relyea%netscape.com
dd234f1f97
Filter on keyID, then run through the best cert check.
...
git-svn-id: svn://10.0.0.236/trunk@128494 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 22:11:06 +00:00
relyea%netscape.com
2f2fb64005
close hole in trust lookups.
...
git-svn-id: svn://10.0.0.236/trunk@128309 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 23:38:29 +00:00
relyea%netscape.com
71fa9fe43d
1) collections have size values that need to be updated.
...
2) handle the case where we can't get the encoding from the cert.
3) Check the cert validity when we first extract it.
git-svn-id: svn://10.0.0.236/trunk@126145 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 01:21:28 +00:00
relyea%netscape.com
b64d478e29
Don't decode or extract trust for certs if we are just getting the nicknames -- particularly for user certs.
...
git-svn-id: svn://10.0.0.236/trunk@123959 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 22:36:59 +00:00
ian.mcgreer%sun.com
aeac107432
bug 144309, return value of STAN_GetCERTCertificate not checked
...
r=wtc
git-svn-id: svn://10.0.0.236/trunk@121875 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 18:05:11 +00:00
ian.mcgreer%sun.com
2f83527b52
landing new smart card cache, bug 135429
...
git-svn-id: svn://10.0.0.236/trunk@119274 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:30:05 +00:00
ian.mcgreer%sun.com
f87d824279
bug 135521, change cert lookups on tokens to be actual finds instead of traversals
...
git-svn-id: svn://10.0.0.236/trunk@118986 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 15:22:11 +00:00
ian.mcgreer%sun.com
8e15d46893
bug 129298, handle different nicknames across tokens
...
r=relyea/a=wtc
git-svn-id: svn://10.0.0.236/trunk@116093 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:08:00 +00:00
ian.mcgreer%sun.com
93335b6c5a
bug 129370, temp cert trusts and S/MIME profiles may cause crashes
...
r/a=wtc
git-svn-id: svn://10.0.0.236/trunk@116072 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:42:40 +00:00
ian.mcgreer%sun.com
a79c662939
bug 124309, fix various issues with the cache/temp store and thread safety. Is one line different than the patch on the bug, the one line seemed to fix the reported crash.
...
git-svn-id: svn://10.0.0.236/trunk@113985 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:51:41 +00:00
ian.mcgreer%sun.com
0240bece7f
fix leak reported in bug 123081 by avoiding allocation for time variable
...
git-svn-id: svn://10.0.0.236/trunk@113633 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 22:34:22 +00:00
ian.mcgreer%sun.com
e16c936a53
Fix cert leaks when building a chain. There are several client auth bugs filed, this may not be for any one in particular, but was found with tstclnt.
...
git-svn-id: svn://10.0.0.236/trunk@113532 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 20:01:22 +00:00
ian.mcgreer%sun.com
126fdb9cd7
bug 121628, persistent cache of hardware token certs
...
git-svn-id: svn://10.0.0.236/trunk@113428 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 17:25:15 +00:00
relyea%netscape.com
ae3fbdd717
Fix memory leaks.
...
git-svn-id: svn://10.0.0.236/trunk@112591 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 00:26:29 +00:00
ian.mcgreer%sun.com
71e89f46e5
fix for bug 120824; functions which collect certs based on subject need to examine *both* the temp and perm stores
...
git-svn-id: svn://10.0.0.236/trunk@112528 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-22 21:56:19 +00:00
ian.mcgreer%sun.com
41121f3550
CERT_FindCertIssuer had a fallback to just grab any cert with the correct subject when all else fails.
...
git-svn-id: svn://10.0.0.236/trunk@111849 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 20:24:46 +00:00
ian.mcgreer%sun.com
26c0d7a35b
Fix chaining bug. Cert's trust needs to be set before call to matchUsage.
...
git-svn-id: svn://10.0.0.236/trunk@111842 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 18:10:43 +00:00
ian.mcgreer%sun.com
ab311ba5fb
move free of CERTCertificate's arena below the NSSCertificate. needed for the case when an NSSCertificate is freed without ever releasing a CERTCertificate.
...
git-svn-id: svn://10.0.0.236/trunk@111576 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 18:51:18 +00:00
ian.mcgreer%sun.com
f85961a3de
move handling of certificate reference counting into Stan. NSS 3.4 needs to maintain persistent references of both temp and perm certs in order to replicate the old temp database.
...
git-svn-id: svn://10.0.0.236/trunk@111308 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 20:09:30 +00:00
ian.mcgreer%sun.com
95f9595544
implement local store of objects for crypto context
...
git-svn-id: svn://10.0.0.236/trunk@110461 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 17:32:23 +00:00
ian.mcgreer%sun.com
331318a796
first step towards separating token and session object searches as performance enhancement. Searches are still over both types until local cert and trust stores for crypto contexts are implemented.
...
git-svn-id: svn://10.0.0.236/trunk@110278 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 20:28:38 +00:00
relyea%netscape.com
dd1d27c432
Clean up compilier warnings on Solaris and Linux, most particularly:
...
1) Implicit declaration of function.
2) Possibly unitialized variables.
These warnings have indicated some real problems in the code, so many changes
are not just to silence the warnings, but to fix the problems. Others were
inocuous, but the warnings were silenced to reduce the noise.
git-svn-id: svn://10.0.0.236/trunk@109938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:36:25 +00:00
ian.mcgreer%sun.com
54677fad6a
fix memory leaks
...
git-svn-id: svn://10.0.0.236/trunk@109238 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 19:34:08 +00:00
ian.mcgreer%sun.com
233b7897cf
land changes for handling temporary and cached certs in 3.4
...
* separate trust object from cert object
* move handling of cryptoki objects into libdev
* implement digest in libdev (for trust object indexing)
* fixes in cache implementation; connect cache to 3.4 certs
* implement CERT_NewTempCertificate via crypto context
git-svn-id: svn://10.0.0.236/trunk@109138 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 16:23:51 +00:00