2840 Commits

Author SHA1 Message Date
bishakhabanerjee%netscape.com
897849a2c9 Patch for bug 119368: SECU_PrintError prints decimal error code now if
unknown error


git-svn-id: svn://10.0.0.236/trunk@113968 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:20:04 +00:00
sonja.mirtitsch%sun.com
7b61b41c04 removed compiler workshop 5 marker bug# 124256 r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@113953 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:43:18 +00:00
relyea%netscape.com
303be3228e Bug 120651: Stop up memory leaks in the built-in token. We are slowly leaking
memory in arenas by allocating temporary objects out of permanment arenas.

Also rename file sin the builtins directory that conflict with it's parent.

xxxxx.c -> bxxxx.c except instance.c becomes binst.c


git-svn-id: svn://10.0.0.236/trunk@113944 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:10:07 +00:00
ian.mcgreer%sun.com
73e7836ead bug 124268, -P is used twice
git-svn-id: svn://10.0.0.236/trunk@113910 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:28:04 +00:00
ian.mcgreer%sun.com
0c1df9e9f5 This is a revision of the patch shown in bug 122907. It should fix the leakage seen with client auth. It is needed either way, as NSS 3.3 always checked for pre-existing temp certs before creating a new one.
git-svn-id: svn://10.0.0.236/trunk@113901 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:58:05 +00:00
wtc%netscape.com
920a4207ed Bugzilla bug 119376: initialize a local variable to eliminate a compiler
warning.


git-svn-id: svn://10.0.0.236/trunk@113860 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:57:48 +00:00
wtc%netscape.com
c2cd29e367 Bugzilla bug 119376: fixed the uninitialized variable 'rv' in
rsa_PrivateKeyOp.


git-svn-id: svn://10.0.0.236/trunk@113855 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:00:31 +00:00
relyea%netscape.com
04a97fd3e2 Identify certs that have no trust as CA's if they have the right settings
git-svn-id: svn://10.0.0.236/trunk@113853 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:50:47 +00:00
ian.mcgreer%sun.com
5f330b97de another misused arena
git-svn-id: svn://10.0.0.236/trunk@113840 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 23:11:08 +00:00
kaie%netscape.com
ab58030ec3 b=122961 Fix sending encrypted mail
r=relyea sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113815 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:38:58 +00:00
ian.mcgreer%sun.com
65ffc39744 Don't waste time searching on tokens for trust of a temp cert. It can only be found in the temp store.
git-svn-id: svn://10.0.0.236/trunk@113813 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:18:18 +00:00
ian.mcgreer%sun.com
35a34cf0b2 cleanup shutdown leak
git-svn-id: svn://10.0.0.236/trunk@113812 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 19:58:54 +00:00
ian.mcgreer%sun.com
71c9e8cff5 PK11_VerifyRecover leaks a slot reference, this fixes it.
r=relyea


git-svn-id: svn://10.0.0.236/trunk@113810 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 19:21:20 +00:00
seawood%netscape.com
973ed77e6a Link against the import lib on win32 and not the dll itself.
git-svn-id: svn://10.0.0.236/trunk@113801 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 16:27:01 +00:00
wtc%netscape.com
5aed530d4b Bugzilla bug 120003: support OpenUNIX 8 build. Thanks to Hiram Clawson
<hiramc@caldera.com> for contributing the patch.
Modified file: config.mk
Added file: OpenUNIX.mk


git-svn-id: svn://10.0.0.236/trunk@113789 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 14:29:38 +00:00
kaie%netscape.com
8fb3ebdd31 Checkin related to NSS 3.4 landing. Temporarily causing Unix depend builds to clean NSS, making those builds work. This
patch will be removed shortly after landing. A similar patch for Windows is inside NSS.


git-svn-id: svn://10.0.0.236/trunk@113785 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:40:18 +00:00
kaie%netscape.com
87d8f6db3b b=116334 NSS 3.4 landing
r=cls/wtc sr=kin/simon


git-svn-id: svn://10.0.0.236/trunk@113784 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:31:07 +00:00
sonja.mirtitsch%sun.com
0dc347971b changing the way to figure out if selfserv is still present from ps to
kill -0 so we might be able to debug the disapearing selfserv problem
better


git-svn-id: svn://10.0.0.236/trunk@113766 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 05:34:16 +00:00
sonja.mirtitsch%sun.com
45202711e5 start of fix for 122632 to avoid overflows
git-svn-id: svn://10.0.0.236/trunk@113758 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 04:02:46 +00:00
sonja.mirtitsch%sun.com
aa9b84f0e9 calling the selfserv now with -y to get the certs at the end, adjusted clients and wait times
git-svn-id: svn://10.0.0.236/trunk@113740 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:51:59 +00:00
relyea%netscape.com
d7d46c347b Fix memory leak in hash table keys. Hash tables stay around forever.
keys go into and out of the table. the old code allocated the keys from
the hash table's arena, so they would grow without bounds. Now the keys
are allocated from the heap, and get freed when they are expunged from the
table.


git-svn-id: svn://10.0.0.236/trunk@113738 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:42:08 +00:00
wtc%netscape.com
bab3530e7f Bugzilla bug 119340: write the "selfserv: received SIGTERM" message to
standard output (fd 1) instead of standard error (fd 2) because the test
script writes its output to standard output (with the echo command).


git-svn-id: svn://10.0.0.236/trunk@113735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 01:38:06 +00:00
sonja.mirtitsch%sun.com
f23d8010bb debugging info for the intermittant multiple recipient problem on linux
git-svn-id: svn://10.0.0.236/trunk@113731 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 01:15:51 +00:00
ian.mcgreer%sun.com
528032c847 fixes for bugs 123479 and 123081 (possibly others). break up arena usage in hash table entries for the temp store and cert cache.
git-svn-id: svn://10.0.0.236/trunk@113727 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:55:43 +00:00
wtc%netscape.com
dfc55d137a Bugzilla bug 121523: checked in Kirk Erickson's session lock fix.
Modified Files:
	lib/pk11wrap/pk11slot.c lib/softoken/pkcs11.c
	lib/softoken/pkcs11i.h lib/softoken/pkcs11u.c


git-svn-id: svn://10.0.0.236/trunk@113726 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:41:36 +00:00
ian.mcgreer%sun.com
6bdc28b0d8 place where iterator was not freed
git-svn-id: svn://10.0.0.236/trunk@113721 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:32:38 +00:00
jpierre%netscape.com
101faf53fc Fix for 122907 - patch to disable arena free lists with environment variable
git-svn-id: svn://10.0.0.236/trunk@113720 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:20:43 +00:00
ian.mcgreer%sun.com
bfcd9cb632 some of the output in bug 123081 shows potential leaks around iterators, since the iterator is explicitly freed allocate it in its own block to avoid this
git-svn-id: svn://10.0.0.236/trunk@113719 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:08:12 +00:00
ian.mcgreer%sun.com
51a288738c cleanup suggested by review by Nelson
git-svn-id: svn://10.0.0.236/trunk@113674 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 03:53:50 +00:00
relyea%netscape.com
c7a84be240 Fix error path, only free arena is one was allocated.
git-svn-id: svn://10.0.0.236/trunk@113662 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:47:01 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
nelsonb%netscape.com
a9cd5beaa8 Plug one of the leaks reported in bugzilla bug 123081
git-svn-id: svn://10.0.0.236/trunk@113642 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 23:15:11 +00:00
ian.mcgreer%sun.com
3e0d2561a3 plug leak found doing client auth, move freeing of cert's slot down a level in case the cert was not made external
git-svn-id: svn://10.0.0.236/trunk@113640 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 23:04:11 +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
7ec531594f last part of bug 121628, permanent slots should respond immediately to IsPresent() call
git-svn-id: svn://10.0.0.236/trunk@113631 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 21:57:07 +00:00
relyea%netscape.com
37eb96be75 Function to read PQG params from the key.
git-svn-id: svn://10.0.0.236/trunk@113612 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 18:00:14 +00:00
wtc%netscape.com
6060dc6b69 Temporary hack to make 'depend' do a 'clean' in NSS.
git-svn-id: svn://10.0.0.236/trunk@113608 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 15:57:38 +00:00
relyea%netscape.com
36e3068bc1 Bug 117978: accessor functions to all JCE keystore API to be implemented.
git-svn-id: svn://10.0.0.236/trunk@113555 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 03:37:26 +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
633f5faf30 bug 90518, selfserv dumps cache state before shutdown with -y option
git-svn-id: svn://10.0.0.236/trunk@113530 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 19:39:48 +00:00
wtc%netscape.com
0993648262 Bugzilla bug 122961: export CERT_CreateSubjectCertList for PSM.
git-svn-id: svn://10.0.0.236/trunk@113504 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 04:41:06 +00:00
relyea%netscape.com
3c5d08984b Add new PK11_ImportSymKeyWithFlags function for JSS
git-svn-id: svn://10.0.0.236/trunk@113494 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 01:46:05 +00:00
javi%netscape.com
7fbb88f57b Fix Mac bustage.
git-svn-id: svn://10.0.0.236/trunk@113487 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 01:20:54 +00:00
wtc%netscape.com
eba46abb7a Bugzilla bug 122712: moved the two newly exported symbols to the right
place.


git-svn-id: svn://10.0.0.236/trunk@113440 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 21:16:43 +00:00
ian.mcgreer%sun.com
9b23ec2d9d fix cert leak found by client auth
git-svn-id: svn://10.0.0.236/trunk@113432 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 18:18:13 +00:00
relyea%netscape.com
300485bc29 Fix memory leak.
git-svn-id: svn://10.0.0.236/trunk@113431 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 17:57:05 +00:00
wtc%netscape.com
911b346fe5 Bugzilla bug 122944: detect Cygwin's uname.
git-svn-id: svn://10.0.0.236/trunk@113429 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 17:27:55 +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
wtc%netscape.com
6cba3e1cfe Bugzilla bug 119340: install a SIGTERM handler on Linux for debugging.
git-svn-id: svn://10.0.0.236/trunk@113403 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 05:57:49 +00:00
relyea%netscape.com
9ec4db4c97 certutil -L now opens the DB ReadOnly. Add the '-X' option to the test is still
testing the R/W case.


git-svn-id: svn://10.0.0.236/trunk@113392 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 02:28:32 +00:00