Commit Graph

1632 Commits

Author SHA1 Message Date
wtc%netscape.com
63dd3ebaf8 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
6aadda5c42 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
0f9ca80078 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
cfab32ea30 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
e760d6d971 Fix key leak in S/Mime. 2002-01-25 19:08:19 +00:00
relyea%netscape.com
a7723c632d 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
relyea%netscape.com
0117ba048e Too agressive on fixing leaks;). This one isn't a leak.
bob
2002-01-24 21:33:51 +00:00
ian.mcgreer%sun.com
f41585bde3 fix aix issues 2002-01-24 15:45:55 +00:00
relyea%netscape.com
ebaa5bbf31 Fix NT crash on startup. (load builtins after trust domain gets initialized). 2002-01-24 02:46:07 +00:00
nicolson%netscape.com
951f75091e Fix 118679: PK11SDR_Encrypt fails if not logged into token. 2002-01-24 01:06:22 +00:00
ian.mcgreer%sun.com
75f5e9ba76 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
82686aae13 fix leakage in traversal functions that convert certs to CERTCertificates 2002-01-24 00:34:03 +00:00
relyea%netscape.com
b482961799 Fix memory leaks. 2002-01-24 00:26:29 +00:00
ian.mcgreer%sun.com
e0aea6c88c make sure path string has terminator 2002-01-24 00:25:32 +00:00
ian.mcgreer%sun.com
e5c7459928 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
4a36925612 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
1e650bcd15 traversed certs also need to be cached 2002-01-23 18:24:29 +00:00
ian.mcgreer%sun.com
f3392f0b6a 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
4fc4b9ceba * 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
0af7b9c087 make the load function for the root token work 2002-01-23 15:36:54 +00:00
ian.mcgreer%sun.com
e036a5db20 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
9b88467bfc Restore code automatic Built-in loading code. 2002-01-23 04:42:21 +00:00
relyea%netscape.com
72e3dce42d Function to return if any builtins have been loaded yet. 2002-01-23 04:41:25 +00:00
ian.mcgreer%sun.com
272b2a393b fix PSM crash described in bug 120647 2002-01-23 03:53:16 +00:00
wtc%netscape.com
bd2bc25ec1 Bugzilla bug 119340: an inelegant but more reliable way to kill the
multithreaded 'selfserv' process on Linux.
Modified files:
    cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh
2002-01-23 03:18:57 +00:00
relyea%netscape.com
8c401aee16 Fix wrong polarity on if statement (should check for success, not failure). 2002-01-23 02:10:31 +00:00
sonja.mirtitsch%sun.com
b6fd9b3d50 added the TCP connection aborted to the lines that are OK in the log 2002-01-23 02:07:08 +00:00
relyea%netscape.com
c7d82085a1 Fix memory like in readSMimeEntry 2002-01-23 01:44:22 +00:00
relyea%netscape.com
c5398cc6c3 Fix label stuff. 2002-01-23 01:20:32 +00:00
relyea%netscape.com
eec61db7e1 Labels don't have NULL's by default. 2002-01-23 00:53:53 +00:00
ian.mcgreer%sun.com
30e782be09 PSM bug 119359, NSS 3.4 also needs to recognize valid CA trust in order for cert download to work correctly 2002-01-23 00:49:23 +00:00
sonja.mirtitsch%sun.com
3678be47dd added comments 2002-01-23 00:27:10 +00:00
sonja.mirtitsch%sun.com
fbbaa44ef1 removing tmpfiles on tinderboxes 2002-01-23 00:21:01 +00:00
sonja.mirtitsch%sun.com
b10b0f598d changes so nssqa will run on netscape's daily builds as well 2002-01-23 00:19:32 +00:00
ian.mcgreer%sun.com
1f6449471b last change to INTEGER encoding, strip extraneous leading zeros from integer values passed to encoder 2002-01-22 22:48:26 +00:00
ian.mcgreer%sun.com
82ee31efe8 fix for bug 120824; functions which collect certs based on subject need to examine *both* the temp and perm stores 2002-01-22 21:56:19 +00:00
relyea%netscape.com
5f0c8488cf remove bogus verify step (the cert passed in is almost certainly a signing cert). 2002-01-18 03:38:29 +00:00
relyea%netscape.com
cfb0db6aa1 Fix the case where the subjectID is an issuer/SN. don't build a dbkey in
this case, return the actual subject cert id after looking up the cert
directly
2002-01-18 03:36:44 +00:00
relyea%netscape.com
5ec1498d89 Increment length on LABEL, not on CLASS to catch the added NULL case. 2002-01-18 03:35:18 +00:00
ian.mcgreer%sun.com
775f92f7ff more backwards compatibility fixes
* always send DER of serial number to PKCS#11 queries
* in softoken, construct key for certificate using decoded serial number with (possibly) a leading zero, for compatibility with version 7 db
* in softoken, decode serial number *without* removing leading zero for searches
2002-01-17 00:20:53 +00:00
ian.mcgreer%sun.com
9c7bf8e3b7 fix build bustage 2002-01-16 21:36:33 +00:00
ian.mcgreer%sun.com
40bd44939d fix a crash seen in PSM by making sure a zero-length attribute zeroes the item inheriting it 2002-01-16 21:23:30 +00:00
ian.mcgreer%sun.com
4c3e077743 fix for bug 115360, failure in pkcs12 backwards compatibility tests 2002-01-16 21:22:30 +00:00
ian.mcgreer%sun.com
b2373e435c unfortunately, the SDR key keeps the value of CK_KEY_TYPE in the coefficient field of an RSA key. This means some format is lost through the ASN.1 encoder/decoer. Trying again to account for that without affecting normal key type attributes. 2002-01-16 16:02:51 +00:00
wtc%netscape.com
fa4176bcc7 Bugzilla bug 119340: added a debug printf statement. 2002-01-16 03:29:06 +00:00
ian.mcgreer%sun.com
a4a2117751 fix up problems in last change 2002-01-16 00:04:16 +00:00
sonja.mirtitsch%sun.com
0f991578bd Ians debug change to find out the state of the DB after multi recepient test 2002-01-15 22:29:47 +00:00
javi%netscape.com
40c41ba4b7 Include NSS.Prefix in the optimized target instead of NSDebug.Prefix 2002-01-15 22:11:39 +00:00
ian.mcgreer%sun.com
37ccf29e2d revert last change, and move conversion of attribute value to host long up to where the long variable actually appears. 2002-01-15 21:45:38 +00:00
ian.mcgreer%sun.com
2dbd9ade93 fix SDR on big-endian platforms. The leading zeros in the RSA coefficient have been stripped, but PKCS#11 needs them back in order to form a CK_ULONG correctly. 2002-01-15 19:20:34 +00:00