ian.mcgreer%sun.com
6caebdc0ff
fix leak reported in bug 123081 by avoiding allocation for time variable
2002-02-04 22:34:22 +00:00
ian.mcgreer%sun.com
8faaba0e2f
last part of bug 121628, permanent slots should respond immediately to IsPresent() call
2002-02-04 21:57:07 +00:00
relyea%netscape.com
72ba690a4c
Function to read PQG params from the key.
2002-02-04 18:00:14 +00:00
wtc%netscape.com
45cce1a40d
Temporary hack to make 'depend' do a 'clean' in NSS.
2002-02-04 15:57:38 +00:00
relyea%netscape.com
0ae90e9fb1
Bug 117978: accessor functions to all JCE keystore API to be implemented.
2002-02-03 03:37:26 +00:00
ian.mcgreer%sun.com
e4a9a4769d
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.
2002-02-02 20:01:22 +00:00
ian.mcgreer%sun.com
43e609386f
bug 90518, selfserv dumps cache state before shutdown with -y option
2002-02-02 19:39:48 +00:00
wtc%netscape.com
1512dc6f0e
Bugzilla bug 122961: export CERT_CreateSubjectCertList for PSM.
2002-02-02 04:41:06 +00:00
relyea%netscape.com
26815e4981
Add new PK11_ImportSymKeyWithFlags function for JSS
2002-02-02 01:46:05 +00:00
javi%netscape.com
17bbdeab99
Fix Mac bustage.
2002-02-02 01:20:54 +00:00
wtc%netscape.com
1fd06e9576
Bugzilla bug 122712: moved the two newly exported symbols to the right
...
place.
2002-02-01 21:16:43 +00:00
ian.mcgreer%sun.com
50efa45321
fix cert leak found by client auth
2002-02-01 18:18:13 +00:00
relyea%netscape.com
74d272df70
Fix memory leak.
2002-02-01 17:57:05 +00:00
wtc%netscape.com
da2f8911e3
Bugzilla bug 122944: detect Cygwin's uname.
2002-02-01 17:27:55 +00:00
ian.mcgreer%sun.com
9d0bbe4ab6
bug 121628, persistent cache of hardware token certs
2002-02-01 17:25:15 +00:00
wtc%netscape.com
c2c17dc8ed
Bugzilla bug 119340: install a SIGTERM handler on Linux for debugging.
2002-02-01 05:57:49 +00:00
relyea%netscape.com
c7c406a007
certutil -L now opens the DB ReadOnly. Add the '-X' option to the test is still
...
testing the R/W case.
2002-02-01 02:28:32 +00:00
relyea%netscape.com
fbb3cd1af1
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
2002-02-01 02:26:40 +00:00
heikki%netscape.com
02a455545d
Bug 106053, remove unused XHTML namespace declarations, and fix incorrect namespace usages. r=harishd, sr=hewitt.
2002-01-31 22:12:36 +00:00
ian.mcgreer%sun.com
4eac0e224a
have certutil shutdown cleanly so purify is easier to deal with
2002-01-31 19:27:07 +00:00
relyea%netscape.com
9694fb3322
Fix thread local storage leak.
2002-01-31 19:18:55 +00:00
javi%netscape.com
eb955bd006
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.
2002-01-31 19:10:46 +00:00
javi%netscape.com
c3c6171f0b
Use LoadableRoots.mcp.exp instead of _*.exp so that we know
...
the .exp wasn't generated by CodeWarrior.
2002-01-31 19:05:27 +00:00
ian.mcgreer%sun.com
73ada3b8ed
couple of fixes
2002-01-31 17:28:49 +00:00
ian.mcgreer%sun.com
17924181a5
bug 90518, implement methods for dumping the state of the cache and temp cert store in NSS 3.4
2002-01-31 17:08:32 +00:00
ddrinan%netscape.com
a38e12497e
Checkin for relyea. Call CERT_DestoryCertificateList instead of CERT_DestroyCertList
2002-01-31 04:00:12 +00:00
relyea%netscape.com
14606c9f4f
Fix certlist memory leak.
2002-01-31 02:19:43 +00:00
wtc%netscape.com
1ba4f766ad
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
2002-01-31 02:03:57 +00:00
wtc%netscape.com
33eec413e9
Bugzilla bug 122712: temporarily export two additional symbols for Mozilla
...
static build.
2002-01-31 01:03:21 +00:00
sonja.mirtitsch%sun.com
56fd0efd0d
put the sleep 30 back into the linux ssl test to give the selfserv time
...
to free the socket...
2002-01-31 01:01:47 +00:00
relyea%netscape.com
79e23ff590
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
2002-01-31 00:42:43 +00:00
sonja.mirtitsch%sun.com
2f09854c0e
next thry for bug 115200
2002-01-31 00:34:04 +00:00
relyea%netscape.com
4a065a35a8
Set token flag when saving the CRLs so they actually get put into the database!
2002-01-31 00:18:09 +00:00
relyea%netscape.com
c55125bdd6
Fix searching code so it can find CRL's
2002-01-31 00:16:29 +00:00
sfraser%netscape.com
d285f8f560
Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
2002-01-30 21:14:20 +00:00
nicolson%netscape.com
85797db222
Fix problems caused by changing package names.
2002-01-30 20:54:24 +00:00
nicolson%netscape.com
38f3e7666f
move org/mozilla/jss/manage subdirectory to org/mozilla/jss
2002-01-30 20:51:00 +00:00
nicolson%netscape.com
1bbfdea181
move /manage subdirectory up one level to coincide with org.mozilla.jss
...
package name
2002-01-30 20:50:18 +00:00
nicolson%netscape.com
8e9f82d8e4
move this stuff up one directory to coincide with the org.mozilla.jss
...
package name.
2002-01-30 20:49:00 +00:00
nicolson%netscape.com
4fb23434af
update all classes to be in org.mozilla.jss.tests.package.
...
Improve TestKeyGen test.
2002-01-30 20:47:41 +00:00
nicolson%netscape.com
5243b5b9f0
added KeyPairGenerator.
2002-01-30 20:39:09 +00:00
nicolson%netscape.com
b9dd6ca379
Change default token from InternalCryptoToken to InternalKeyStorageToken.
2002-01-30 20:38:53 +00:00
nicolson%netscape.com
47268c6466
always do a private_export.
2002-01-30 20:00:31 +00:00
nicolson%netscape.com
fa25f3e4e9
Fix 122437: Memory leak in read method of SSLSocket
2002-01-30 19:52:02 +00:00
sonja.mirtitsch%sun.com
41f16942a4
another try for QA / RE / tinderbox problem bug #115200
2002-01-30 04:37:35 +00:00
relyea%netscape.com
5324ba124a
Unsigned values are always greater than '0'!
2002-01-30 00:48:24 +00:00
relyea%netscape.com
b17e47bc7b
Indexes are zero based. Do our realloc when index == size (not after).
2002-01-30 00:25:34 +00:00
relyea%netscape.com
3dfd980fd3
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
2002-01-30 00:24:12 +00:00
relyea%netscape.com
3d5799a0e4
Restore idempontency to nss_init*
2002-01-29 22:27:15 +00:00
relyea%netscape.com
6087924968
Built-ins set the ulValueLen to -1 to indicate an unknown attribute type.
2002-01-29 21:12:13 +00:00
relyea%netscape.com
761c8f9882
Token and slot names are already converted to NULL terminated strings in the slot structure
2002-01-29 21:10:50 +00:00
relyea%netscape.com
7e91df2901
Don't leak memory in the arena pool
2002-01-29 19:00:47 +00:00
relyea%netscape.com
2ffdebcb02
More 'pretty print' improvements. Decode context specific data a little more.
2002-01-29 17:50:27 +00:00
ian.mcgreer%sun.com
2e7dccd29d
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
2002-01-29 17:30:22 +00:00
nicolson%netscape.com
4fa2bf8011
add -sourcepath flag.
2002-01-29 02:31:01 +00:00
kaie%netscape.com
1b37a55348
b=116417 NSS3.4 build. Directly imported CAs not saved. Introducing a new auto cleanup class for destructing NSS objects.
...
r=javi sr=alecf
2002-01-29 01:10:04 +00:00
nicolson%netscape.com
8f0fec627d
fix to test either dist or release builds.
2002-01-29 00:14:45 +00:00
nicolson%netscape.com
dda48ddfee
move into org.mozilla.jss.tests package.
2002-01-28 23:49:38 +00:00
relyea%netscape.com
f58a765819
(sigh) not only do we need to find the objects, we need to be able to read
...
them as well.
2002-01-28 23:28:29 +00:00
sfraser%netscape.com
83dce9ad22
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.
2002-01-28 23:14:42 +00:00
nicolson%netscape.com
164481ba26
make release_classes target work.
2002-01-28 23:08:16 +00:00
sonja.mirtitsch%sun.com
3503c53808
fixed typo
2002-01-28 20:59:23 +00:00
jpierre%netscape.com
3b1ba6dc44
Fix for 69556 - remove expired CA "Verisign Class 4 Primary CA"
2002-01-28 20:43:37 +00:00
sonja.mirtitsch%sun.com
68984c4764
attempted fix for bug 115200, tinderbox reports false failures on machines
...
that run 32 and 63 bit tinderboxes
2002-01-28 19:35:53 +00:00
relyea%netscape.com
88fccf56cf
Fix crashing problem when trying two switch from fips to non-fips and back.
...
bug 119214.
2002-01-28 19:18:41 +00:00
kaie%netscape.com
1725e8fd70
b=121351 Avoid risk of multiple PK11_FreeSlot calls in GenerateCRMFRequest
...
r=javi sr=blizzard
2002-01-28 15:25:47 +00:00
kaie%netscape.com
6fe3a7dfb7
b=98068 Add PR_CALLBACK for changed interfaces in NSS_3_4
...
r=javi sr=blizzard
2002-01-28 15:23:59 +00:00
stephend%netscape.com
9eeb236622
Bug 117814. Strict JS warnings in password.js. r=stephend@netscape.com, sr=jaggernaut@netscape.com
2002-01-27 21:54:53 +00:00
wtc%netscape.com
73da707b84
Bugzilla bug 114702: support Linux 2.5.x kernels.
2002-01-27 00:45:37 +00:00
wtc%netscape.com
1da3195968
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.
2002-01-27 00:14:59 +00:00
wtc%netscape.com
d6b8ef5d90
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.
2002-01-26 16:19:51 +00:00
relyea%netscape.com
237f52188c
Fix PBE_Context failure by making sure CKM_PBA is it's own keygen type.
2002-01-26 01:20:50 +00:00
relyea%netscape.com
e5d11d5431
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.
2002-01-26 00:16:03 +00:00
relyea%netscape.com
1b36216be7
Change Sha1_hash to a simple XOR hash for building key handles for token
...
objects.
2002-01-25 19:09:34 +00:00
relyea%netscape.com
2cd0e7823b
Fix key leak in S/Mime.
2002-01-25 19:08:19 +00:00
relyea%netscape.com
66838540ff
Fix bug 115660. Note that fixing the bugs necessitates fixing the test
...
cases as well. The test case was depending on the failure to read certs to
detect the failure to read keys. Now certutil returns a failure if no keys
are found. This also means that the FIPS test after the key and cert
has been deleted should expect a failure to list any keys.
2002-01-25 19:03:17 +00:00
kaie%netscape.com
ed65ba5230
b=119810 javascript strict warnings certpicker.js
...
r=ssaux sr=jag
2002-01-25 15:39:57 +00:00
kaie%netscape.com
1c7836bf00
b=121289 Make Key Escrow warning dialog work
...
r=rangansen sr=kin
2002-01-25 14:58:31 +00:00
relyea%netscape.com
0b8fb8f0d7
Too agressive on fixing leaks;). This one isn't a leak.
...
bob
2002-01-24 21:33:51 +00:00
nicolson%netscape.com
ab5b98bf82
use NSS 3.4.
2002-01-24 18:21:57 +00:00
ian.mcgreer%sun.com
3afd5c3d8d
fix aix issues
2002-01-24 15:45:55 +00:00
nicolson%netscape.com
e6b935f729
New build script for Java classes.
2002-01-24 02:57:12 +00:00
relyea%netscape.com
7f26c10bd8
Fix NT crash on startup. (load builtins after trust domain gets initialized).
2002-01-24 02:46:07 +00:00
nicolson%netscape.com
ad83132edd
Switch the default on removeSunProvider. The default is now "false".
2002-01-24 01:24:01 +00:00
nicolson%netscape.com
0ec0384725
Document the necessity of setting the password on the key database before
...
using the SecretDecoderRing.
2002-01-24 01:16:12 +00:00
nicolson%netscape.com
56bb80f8db
Fix 118679: PK11SDR_Encrypt fails if not logged into token.
2002-01-24 01:06:22 +00:00
ian.mcgreer%sun.com
ab89e69ce2
implement istemp and isperm in case clients depend on it, make sure certs own a reference to their slot and then free it
2002-01-24 00:58:02 +00:00
ian.mcgreer%sun.com
b2cc5d03dc
fix leakage in traversal functions that convert certs to CERTCertificates
2002-01-24 00:34:03 +00:00
relyea%netscape.com
65b7f7d46b
Fix memory leaks.
2002-01-24 00:26:29 +00:00
ian.mcgreer%sun.com
422c06a4ed
make sure path string has terminator
2002-01-24 00:25:32 +00:00
ian.mcgreer%sun.com
3a1d638a39
restore function CERT_SaveImportedCert, used to set the trust bits of a cert on import. Fixes bug 121487
2002-01-23 21:43:30 +00:00
ian.mcgreer%sun.com
115a64c8c2
traverse functions need to cache as they run in order to catch multiple instances of certs correctly
2002-01-23 20:35:18 +00:00
ian.mcgreer%sun.com
ced7fd120a
traversed certs also need to be cached
2002-01-23 18:24:29 +00:00
ian.mcgreer%sun.com
3b7ccbb61c
fix core when token list is emptied (caused by switch to fips mode)
2002-01-23 17:39:29 +00:00
ian.mcgreer%sun.com
bc65724129
* keep stan in sync with both addition and removal of modules
...
* clean up compatibilty issues with PKCS#11 serial numbers. Need to search both encoded and decoded values, while making sure stan code only deals with DER value
2002-01-23 17:00:39 +00:00
ian.mcgreer%sun.com
952afebdb5
make the load function for the root token work
2002-01-23 15:36:54 +00:00
ian.mcgreer%sun.com
17b74fe184
fix breakage caused by yesterday's checkins; since softoken no longer returns terminating NULL for strings must add it above PKCS#11
...
also fixes bug 121384
2002-01-23 14:37:48 +00:00
relyea%netscape.com
79f61f853a
Restore code automatic Built-in loading code.
2002-01-23 04:42:21 +00:00
relyea%netscape.com
c8fcdeb68d
Function to return if any builtins have been loaded yet.
2002-01-23 04:41:25 +00:00
ian.mcgreer%sun.com
f4b110b8ac
fix PSM crash described in bug 120647
2002-01-23 03:53:16 +00:00