1540 Commits

Author SHA1 Message Date
ian.mcgreer%sun.com
a12d7d8878 fix pkcs12 bug where nicknames were disappearing
git-svn-id: svn://10.0.0.236/trunk@111499 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 19:53:47 +00:00
ian.mcgreer%sun.com
0c560deee1 once again, solaris x86 does not like PR_LOG
git-svn-id: svn://10.0.0.236/trunk@111497 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 19:14:40 +00:00
ian.mcgreer%sun.com
dc6c6834e3 PSM fixes
* implement CERT_AddTempCertToPerm in 3.4
* update object instance lists when needed
* correctly check and allocate trust when changing it


git-svn-id: svn://10.0.0.236/trunk@111495 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 16:45:26 +00:00
ian.mcgreer%sun.com
7432d9b145 obey the isperm flag as in nss 3.3
git-svn-id: svn://10.0.0.236/trunk@111467 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 21:49:48 +00:00
relyea%netscape.com
f4994efe5d Startup problems on new profiles: 1) Windows does not initially open the DB R/W
on startup. 2) All platforms do not see the built-ins token if you startup with
a new profile.

Fix: 1) Escape the initialization parameters.
     2) Rebuild the Token iterator when new tokens are added to the trust domain.


git-svn-id: svn://10.0.0.236/trunk@111399 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 03:00:10 +00:00
sonja.mirtitsch%sun.com
4972f28b68 taking out OSF 5 links
git-svn-id: svn://10.0.0.236/trunk@111372 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 21:41:23 +00:00
sonja.mirtitsch%sun.com
da553df4db increased the number of tests and changed the fix about too many cache misses
seee bugs #114964 and 118031


git-svn-id: svn://10.0.0.236/trunk@111371 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 21:39:36 +00:00
sonja.mirtitsch%sun.com
6b88b9a6c7 to avoid client and server writes at the same time write output to a tmp
file first, and then the tmp file to stdout
the writes had lead to garbled messages that were then interpreted as
errormessages by the scripts


git-svn-id: svn://10.0.0.236/trunk@111369 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 21:31:39 +00:00
ian.mcgreer%sun.com
97ff040547 implement trust ordering when merging trust
git-svn-id: svn://10.0.0.236/trunk@111362 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 19:21:54 +00:00
wtc%netscape.com
88b8616fc4 Bugzilla bug 110356: check in the generated files (oiddata.h and oiddata.c)
to work around concurrent build failures on Unix and the generation of
these files on the Mac.
Modified files: Makefile manifest.mn
Added files: oiddata.c oiddata.h


git-svn-id: svn://10.0.0.236/trunk@111346 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 05:22:07 +00:00
sonja.mirtitsch%sun.com
320e4e298d fixed qa_stat following an enhancement, that causes unexpected messaegs in the output.log
git-svn-id: svn://10.0.0.236/trunk@111335 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 00:24:28 +00:00
sonja.mirtitsch%sun.com
8121e60402 fix for enhancemet request 114964
git-svn-id: svn://10.0.0.236/trunk@111332 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 23:58:23 +00:00
ian.mcgreer%sun.com
b986c9fa14 only free slot if funrction returns correctly
git-svn-id: svn://10.0.0.236/trunk@111323 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 22:49:02 +00:00
ian.mcgreer%sun.com
52cc9b8b36 fix aix bustage
git-svn-id: svn://10.0.0.236/trunk@111309 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 20:19:55 +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
41dac395df temp certs live in a trust domain. allows the idiom of "if not temp, try perm" to work in 3.4.
git-svn-id: svn://10.0.0.236/trunk@110983 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 19:14:04 +00:00
sonja.mirtitsch%sun.com
0947560395 more info to results.html
git-svn-id: svn://10.0.0.236/trunk@110934 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 00:29:32 +00:00
sonja.mirtitsch%sun.com
26de64d33b checking in fix for the new requirements for bug 73098
git-svn-id: svn://10.0.0.236/trunk@110927 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 23:26:59 +00:00
ian.mcgreer%sun.com
56cc1d1af6 some checks that were overlooked
git-svn-id: svn://10.0.0.236/trunk@110925 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 23:17:58 +00:00
kaie%netscape.com
953c1c0dd4 Fix crash bug 115927 by incrementing the reference count of
returned slot.
r=relyea


git-svn-id: svn://10.0.0.236/trunk@110916 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 21:40:30 +00:00
ian.mcgreer%sun.com
43ce20151b remove unneeded hack, put in a couple of error checks
git-svn-id: svn://10.0.0.236/trunk@110900 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 16:50:22 +00:00
ian.mcgreer%sun.com
c8e922293f set the CERTCertificate nickname to be "Token Name:Cert Name" for backwards compatibility
git-svn-id: svn://10.0.0.236/trunk@110896 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 16:20:16 +00:00
nicolson%netscape.com
d7c07822c8 Typo broke the build.
git-svn-id: svn://10.0.0.236/trunk@110823 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 21:37:30 +00:00
ian.mcgreer%sun.com
5e6465eb05 fix for 115957, hash table overloads cause problem (certs were not being removed properly)
git-svn-id: svn://10.0.0.236/trunk@110821 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 20:27:21 +00:00
nicolson%netscape.com
a2c6f7ace3 Fix 114469: PK11_ImportDERPrivateKeyInfo should return a SECKEYPrivateKey*
r=relyea.


git-svn-id: svn://10.0.0.236/trunk@110819 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 20:14:53 +00:00
nicolson%netscape.com
267f105bb2 Fix 114979: SECKEY_EncryptedPrivateKeyInfoTemplate no longer in public
header file.
r=relyea.


git-svn-id: svn://10.0.0.236/trunk@110818 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 20:11:56 +00:00
nicolson%netscape.com
4c27fe3c69 Fix 112321: make public SECKEY_DecodeDERSubjectPublicKeyInfo.
r=relyea.


git-svn-id: svn://10.0.0.236/trunk@110817 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 20:10:07 +00:00
relyea%netscape.com
e5afe0dfcb Fix Bug 115657.
1) advance the pointers in the initialization setup for p12 pbes (at the same
time fix the code to be much easier to read and understand).
2) Copy out the returned IV in pkcs11c.c.


git-svn-id: svn://10.0.0.236/trunk@110815 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 18:06:29 +00:00
nelsonb%netscape.com
75593bc5fe Don't allocate sieve from stack on machines with very-limited stacks.
Bug 115012.  Patch from Michael Kaply mkaply@us.ibm.com


git-svn-id: svn://10.0.0.236/trunk@110732 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 21:49:49 +00:00
ian.mcgreer%sun.com
9c9e4ed53c this is why apps shouldn't be able to change cert values...
git-svn-id: svn://10.0.0.236/trunk@110729 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 21:11:41 +00:00
ian.mcgreer%sun.com
350e21c21d don't waste time setting trust bits if they aren't changing
git-svn-id: svn://10.0.0.236/trunk@110724 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 19:54:44 +00:00
ian.mcgreer%sun.com
c81730cb7b fix for 115719, user trust not being set
git-svn-id: svn://10.0.0.236/trunk@110715 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 16:04:52 +00:00
ian.mcgreer%sun.com
d8bc9040e7 test case for multiple recipients
git-svn-id: svn://10.0.0.236/trunk@110633 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 20:16:18 +00:00
ian.mcgreer%sun.com
d079ef794b needed for traversal of keys
git-svn-id: svn://10.0.0.236/trunk@110628 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 13:43:34 +00:00
ian.mcgreer%sun.com
ee0266636e dbhandle needs to be set for subject list certs to work
git-svn-id: svn://10.0.0.236/trunk@110627 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 13:43:10 +00:00
wtc%netscape.com
48c0cad32a NSS 3.4 should use DBM 1.6.
git-svn-id: svn://10.0.0.236/trunk@110548 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 21:02:20 +00:00
ian.mcgreer%sun.com
3143ebfdf1 the last step - restrict trust domain and PK11_ searches to token objects
also, make sure trust is grabbed from crypto context


git-svn-id: svn://10.0.0.236/trunk@110480 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 20:50:59 +00:00
sonja.mirtitsch%sun.com
6168f2e194 thought I needed to do this in ssl... chge the readonlydir to prevent
mccrel from overflowing due to failing cleanup scripts...


git-svn-id: svn://10.0.0.236/trunk@110471 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 20:10:46 +00:00
sonja.mirtitsch%sun.com
6c78a24a7d fix for bug 73098, need to make other checkins in ssl.sh and don't
want to merge
Ian reviewed the patch


git-svn-id: svn://10.0.0.236/trunk@110468 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 20:02:53 +00:00
ian.mcgreer%sun.com
3dbbac9eab missed as part of last checkin, hack needed when certs come out of crypto context or cache
git-svn-id: svn://10.0.0.236/trunk@110463 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 18:50:49 +00:00
ian.mcgreer%sun.com
057600d63a fix AIX build
git-svn-id: svn://10.0.0.236/trunk@110462 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 18:31:14 +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
jpierre%netscape.com
9acaca40ca Fix 114787 - ssl_recv crashes in client. bogus assert. reviewed by nelson
git-svn-id: svn://10.0.0.236/trunk@110399 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 21:44:04 +00:00
ian.mcgreer%sun.com
ecb8b3c386 detect hash collisions so that the caller can handle it
git-svn-id: svn://10.0.0.236/trunk@110397 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 20:23:07 +00:00
jpierre%netscape.com
0ab6b2a80b Fix for 105764 - compiler warnings
git-svn-id: svn://10.0.0.236/trunk@110353 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 04:14:48 +00:00
jpierre%netscape.com
492923673e Fix for 105764 - compiler warnings
git-svn-id: svn://10.0.0.236/trunk@110348 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 03:48:28 +00:00
sonja.mirtitsch%sun.com
af9922f854 enabling the tls stresstest
git-svn-id: svn://10.0.0.236/trunk@110344 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 03:15:01 +00:00
ian.mcgreer%sun.com
eaa53f5d5a original intent for concurrent list iteration, fixes bug 114727. a better long-term solution is needing for traversing the high-level token lists.
git-svn-id: svn://10.0.0.236/trunk@110318 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 00:07:25 +00:00
nelsonb%netscape.com
f8baf98f49 Check some pointers for NULL before dereferencing them.
git-svn-id: svn://10.0.0.236/trunk@110313 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 23:47:18 +00:00
wtc%netscape.com
17eda98aaa Adding new XML Mac project files.
git-svn-id: svn://10.0.0.236/trunk@110292 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 22:09:17 +00:00