3007 Commits

Author SHA1 Message Date
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
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
nicolson%netscape.com
5533d3ca90 Fix problems caused by changing package names.
git-svn-id: svn://10.0.0.236/trunk@113223 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:54:24 +00:00
nicolson%netscape.com
4ff972e904 move org/mozilla/jss/manage subdirectory to org/mozilla/jss
git-svn-id: svn://10.0.0.236/trunk@113222 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:51:00 +00:00
nicolson%netscape.com
43d64c6ff9 move /manage subdirectory up one level to coincide with org.mozilla.jss
package name


git-svn-id: svn://10.0.0.236/trunk@113221 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:50:18 +00:00
nicolson%netscape.com
8f9e2369e4 move this stuff up one directory to coincide with the org.mozilla.jss
package name.


git-svn-id: svn://10.0.0.236/trunk@113220 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:49:00 +00:00
nicolson%netscape.com
a321a332a4 update all classes to be in org.mozilla.jss.tests.package.
Improve TestKeyGen test.


git-svn-id: svn://10.0.0.236/trunk@113219 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:47:41 +00:00
nicolson%netscape.com
0075d37a74 added KeyPairGenerator.
git-svn-id: svn://10.0.0.236/trunk@113218 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:39:09 +00:00
nicolson%netscape.com
0e99cc2162 Change default token from InternalCryptoToken to InternalKeyStorageToken.
git-svn-id: svn://10.0.0.236/trunk@113217 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:38:53 +00:00
nicolson%netscape.com
dde4c9b7e7 always do a private_export.
git-svn-id: svn://10.0.0.236/trunk@113216 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 20:00:31 +00:00
nicolson%netscape.com
a5a292e64e Fix 122437: Memory leak in read method of SSLSocket
git-svn-id: svn://10.0.0.236/trunk@113214 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 19:52:02 +00:00
sonja.mirtitsch%sun.com
833765f0bd another try for QA / RE / tinderbox problem bug #115200
git-svn-id: svn://10.0.0.236/trunk@113192 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 04:37:35 +00:00
relyea%netscape.com
f5ee7acbf0 Unsigned values are always greater than '0'!
git-svn-id: svn://10.0.0.236/trunk@113170 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 00:48:24 +00:00
relyea%netscape.com
a47cb54982 Indexes are zero based. Do our realloc when index == size (not after).
git-svn-id: svn://10.0.0.236/trunk@113169 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 00:25:34 +00:00
relyea%netscape.com
b30eea42df 1) put some defensive programming so we don't crash on invalid der.
2) set the start offset correctly for multi-byte lengths when decoding sets
and sequences


git-svn-id: svn://10.0.0.236/trunk@113168 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 00:24:12 +00:00
relyea%netscape.com
9ff26f31a1 Restore idempontency to nss_init*
git-svn-id: svn://10.0.0.236/trunk@113157 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 22:27:15 +00:00
relyea%netscape.com
9b55e3a569 Built-ins set the ulValueLen to -1 to indicate an unknown attribute type.
git-svn-id: svn://10.0.0.236/trunk@113141 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:12:13 +00:00