2823 Commits

Author SHA1 Message Date
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
relyea%netscape.com
4965975f8a Make the following functions open the databases Readonly:
ListCerts PrintHelp ListKeys ListModules CheckCertValidity Version

Add an option (-X) to restore the old behaviour of openning the Databases R/W


git-svn-id: svn://10.0.0.236/trunk@113391 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 02:26:40 +00:00
heikki%netscape.com
10484cc5cc Bug 106053, remove unused XHTML namespace declarations, and fix incorrect namespace usages. r=harishd, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@113369 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 22:12:36 +00:00
ian.mcgreer%sun.com
c2387fe9a7 have certutil shutdown cleanly so purify is easier to deal with
git-svn-id: svn://10.0.0.236/trunk@113331 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:27:07 +00:00
relyea%netscape.com
0318f63324 Fix thread local storage leak.
git-svn-id: svn://10.0.0.236/trunk@113329 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:18:55 +00:00
javi%netscape.com
b301c828f4 Make the projects depend on a .exp file that doesn't start with '_' so that we know the .exp file wasn't generated by CodeWarrior.
git-svn-id: svn://10.0.0.236/trunk@113328 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:10:46 +00:00
javi%netscape.com
ba5935c915 Use LoadableRoots.mcp.exp instead of _*.exp so that we know
the .exp wasn't generated by CodeWarrior.


git-svn-id: svn://10.0.0.236/trunk@113327 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:05:27 +00:00
ian.mcgreer%sun.com
f0c3d0a6e5 couple of fixes
git-svn-id: svn://10.0.0.236/trunk@113323 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 17:28:49 +00:00
ian.mcgreer%sun.com
efbc7765e6 bug 90518, implement methods for dumping the state of the cache and temp cert store in NSS 3.4
git-svn-id: svn://10.0.0.236/trunk@113322 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 17:08:32 +00:00
ddrinan%netscape.com
7de8255ea6 Checkin for relyea. Call CERT_DestoryCertificateList instead of CERT_DestroyCertList
git-svn-id: svn://10.0.0.236/trunk@113285 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 04:00:12 +00:00
relyea%netscape.com
5ec404ae36 Fix certlist memory leak.
git-svn-id: svn://10.0.0.236/trunk@113273 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 02:19:43 +00:00
wtc%netscape.com
52cd995d98 Bugzilla bug 119340: backed out the fix. We are still seeing the
"selfserv process not detectable" errors on Linux and I don't have
time to get to the bottom of it.
Modified files:
	cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh


git-svn-id: svn://10.0.0.236/trunk@113271 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 02:03:57 +00:00
wtc%netscape.com
e7047bdc33 Bugzilla bug 122712: temporarily export two additional symbols for Mozilla
static build.


git-svn-id: svn://10.0.0.236/trunk@113264 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 01:03:21 +00:00
sonja.mirtitsch%sun.com
05688870d1 put the sleep 30 back into the linux ssl test to give the selfserv time
to free the socket...


git-svn-id: svn://10.0.0.236/trunk@113263 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 01:01:47 +00:00
relyea%netscape.com
7e68464d13 restore checks for critical extenstions and fail if we have any we don't
recognize. Just remove the bogus check that v2 crls must have critical extensions


git-svn-id: svn://10.0.0.236/trunk@113260 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 00:42:43 +00:00
sonja.mirtitsch%sun.com
d6ea734305 next thry for bug 115200
git-svn-id: svn://10.0.0.236/trunk@113258 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 00:34:04 +00:00
relyea%netscape.com
830ed3ff75 Set token flag when saving the CRLs so they actually get put into the database!
git-svn-id: svn://10.0.0.236/trunk@113256 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 00:18:09 +00:00
relyea%netscape.com
92d5738180 Fix searching code so it can find CRL's
git-svn-id: svn://10.0.0.236/trunk@113254 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 00:16:29 +00:00