2782 Commits

Author SHA1 Message Date
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
relyea%netscape.com
6622f270f8 Token and slot names are already converted to NULL terminated strings in the slot structure
git-svn-id: svn://10.0.0.236/trunk@113138 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:10:50 +00:00
relyea%netscape.com
8fc3bf1fcb Don't leak memory in the arena pool
git-svn-id: svn://10.0.0.236/trunk@113126 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 19:00:47 +00:00
relyea%netscape.com
cd1b6d6069 More 'pretty print' improvements. Decode context specific data a little more.
git-svn-id: svn://10.0.0.236/trunk@113123 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 17:50:27 +00:00
ian.mcgreer%sun.com
c1c7114dbe changes related to bug 115660
* fipstoken will only force authentication for object-related functions when the object is a private or secret key
* certutil does not authenticate to token when in FIPS and only doing cert-related operations
* QA does not provide password to certutil when doing cert-related operations in FIPS tests


git-svn-id: svn://10.0.0.236/trunk@113122 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 17:30:22 +00:00
nicolson%netscape.com
6bdaad4ee0 add -sourcepath flag.
git-svn-id: svn://10.0.0.236/trunk@113088 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 02:31:01 +00:00
kaie%netscape.com
b4dce85cdc b=116417 NSS3.4 build. Directly imported CAs not saved. Introducing a new auto cleanup class for destructing NSS objects.
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113079 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 01:10:04 +00:00
nicolson%netscape.com
850ede87f4 fix to test either dist or release builds.
git-svn-id: svn://10.0.0.236/trunk@113070 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 00:14:45 +00:00
nicolson%netscape.com
01c72457d0 move into org.mozilla.jss.tests package.
git-svn-id: svn://10.0.0.236/trunk@113065 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:49:38 +00:00
relyea%netscape.com
2ae1f651be (sigh) not only do we need to find the objects, we need to be able to read
them as well.


git-svn-id: svn://10.0.0.236/trunk@113061 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:28:29 +00:00
sfraser%netscape.com
be543daf3c Fix blocker bug 121326 (any SSL transaction causes Mac to freeze) by checking in temporary patch from bug 106188; this reverts Mac to using blocking connects. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@113058 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:14:42 +00:00
nicolson%netscape.com
8fd7000045 make release_classes target work.
git-svn-id: svn://10.0.0.236/trunk@113057 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:08:16 +00:00
sonja.mirtitsch%sun.com
b5fd12a311 fixed typo
git-svn-id: svn://10.0.0.236/trunk@113052 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 20:59:23 +00:00
jpierre%netscape.com
3e0d3badd1 Fix for 69556 - remove expired CA "Verisign Class 4 Primary CA"
git-svn-id: svn://10.0.0.236/trunk@113051 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 20:43:37 +00:00
sonja.mirtitsch%sun.com
df0c1910f0 attempted fix for bug 115200, tinderbox reports false failures on machines
that run 32 and 63 bit tinderboxes


git-svn-id: svn://10.0.0.236/trunk@113050 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 19:35:53 +00:00
relyea%netscape.com
53ad9596fc Fix crashing problem when trying two switch from fips to non-fips and back.
bug 119214.


git-svn-id: svn://10.0.0.236/trunk@113048 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 19:18:41 +00:00
kaie%netscape.com
1f1c0c3523 b=121351 Avoid risk of multiple PK11_FreeSlot calls in GenerateCRMFRequest
r=javi sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@113040 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 15:25:47 +00:00
kaie%netscape.com
d806ea955b b=98068 Add PR_CALLBACK for changed interfaces in NSS_3_4
r=javi sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@113039 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 15:23:59 +00:00
stephend%netscape.com
9291c925a0 Bug 117814. Strict JS warnings in password.js. r=stephend@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113006 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 21:54:53 +00:00
wtc%netscape.com
1322126cf6 Bugzilla bug 114702: support Linux 2.5.x kernels.
git-svn-id: svn://10.0.0.236/trunk@112969 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 00:45:37 +00:00
wtc%netscape.com
2b6f0984fd Bugzilla bug 100447: on BSD/OS 4.2 and 4.3, we have problem calling
safe_popen in a threaded program.  So we don't call safe_popen when
we obtained some entropy from /dev/urandom.  Thanks to lidl@pix.net
for the bug report and the fix.


git-svn-id: svn://10.0.0.236/trunk@112968 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 00:14:59 +00:00
wtc%netscape.com
a3b315a581 Bugzilla bug 111206: make the Solaris version test flexible so that we
don't need to add a new test for each new Solaris release.


git-svn-id: svn://10.0.0.236/trunk@112949 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 16:19:51 +00:00
relyea%netscape.com
c0a2bdbd5f Fix PBE_Context failure by making sure CKM_PBA is it's own keygen type.
git-svn-id: svn://10.0.0.236/trunk@112931 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 01:20:50 +00:00
relyea%netscape.com
517e6d30a2 Fix 2 memory leaks and a UMR.
(keyhand needs to be initialized before we start xor hashing)
Free item and time elements which are transparently allocated for us.


git-svn-id: svn://10.0.0.236/trunk@112916 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:16:03 +00:00
relyea%netscape.com
d9934c8ada Change Sha1_hash to a simple XOR hash for building key handles for token
objects.


git-svn-id: svn://10.0.0.236/trunk@112869 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 19:09:34 +00:00
relyea%netscape.com
863e2140bf Fix key leak in S/Mime.
git-svn-id: svn://10.0.0.236/trunk@112868 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 19:08:19 +00:00