3007 Commits

Author SHA1 Message Date
ian.mcgreer%sun.com
0fd4de720c IMPLEMENT-->EXTERN for header file
git-svn-id: svn://10.0.0.236/trunk@115725 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 17:17:47 +00:00
ian.mcgreer%sun.com
c6c1bc65dc bug 125808, update cert token instances when caching smart card certs that are already cached
git-svn-id: svn://10.0.0.236/trunk@115724 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 17:13:54 +00:00
wtc%netscape.com
7d59ac43e4 Bugzilla bug 128599: link libnss3.so with -R $ORIGIN on Solaris to help it
find libsoftokn3.so.  Fixed an outdated comment in softoken/config.mk.


git-svn-id: svn://10.0.0.236/trunk@115665 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 02:34:32 +00:00
wtc%netscape.com
52b48ed244 Bugzilla bug 112198: use the correct root certs module name for Darwin.
git-svn-id: svn://10.0.0.236/trunk@115664 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 02:29:31 +00:00
wtc%netscape.com
e77f26b222 Bugzilla bug 122261: removed an assertion on bad input. Bad input should
be reported by returning a failure status.  Thanks to erl@voxi.com
(Erland Lewin) for the bug report.  r=relyea,kaie.


git-svn-id: svn://10.0.0.236/trunk@115644 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 15:31:25 +00:00
jpierre%netscape.com
104ab33335 Fix bug 128347 - add -string argument to pass strings to PKCS#11 modules upon addition
git-svn-id: svn://10.0.0.236/trunk@115630 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:56:27 +00:00
oeschger%netscape.com
7d3627e07b updating UI in Cert Manager: 'Restore' button should say 'Import', a=asa/drivers for trunk, sr=alecf, r=ssaux, bug=114454
git-svn-id: svn://10.0.0.236/trunk@115618 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:08:25 +00:00
relyea%netscape.com
692cbbfaac Implement PQG Generate and Verify.
git-svn-id: svn://10.0.0.236/trunk@115614 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:53:11 +00:00
relyea%netscape.com
77f0b9ab02 Implement PKCS #11 2.11 DSA PQG Parameter generation.
git-svn-id: svn://10.0.0.236/trunk@115613 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:52:05 +00:00
relyea%netscape.com
c3fc5f0fb5 Make makepqg build dynamic.
Call the dynamic high-level functions to accomplish the generation.


git-svn-id: svn://10.0.0.236/trunk@115612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:50:39 +00:00
ian.mcgreer%sun.com
854e42c594 modify last patch to only take effect if the slot certs are not publicly readable, and to not update the token cert list more than once
git-svn-id: svn://10.0.0.236/trunk@115583 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 21:43:57 +00:00
ian.mcgreer%sun.com
d463321358 another fix for bug 125808, force update of cache after login/logout
git-svn-id: svn://10.0.0.236/trunk@115572 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 16:28:53 +00:00
wtc%netscape.com
b7c25d95a7 Bugzilla bug 112987: merged changes contributed by FreeBSD developer
Jeremy <reg@shale.csir.co.za>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@115571 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 16:08:12 +00:00
relyea%netscape.com
1daa551aa1 Don't go searching for the matching certs if they weren't on the token the
private key lived on.


git-svn-id: svn://10.0.0.236/trunk@115549 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 02:15:00 +00:00
relyea%netscape.com
2ce0acd912 When we free the clists, clear out our head pointer (don't keep pointing to
freed memory);


git-svn-id: svn://10.0.0.236/trunk@115548 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 02:13:42 +00:00
nelsonb%netscape.com
4d292871d6 Fix Usage message. Add missing \n to string.
git-svn-id: svn://10.0.0.236/trunk@115547 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 01:53:07 +00:00
jpierre%netscape.com
4c33c446dc Fix for 128355 - add SECMOD_AddNewModuleEx to take module parameters
git-svn-id: svn://10.0.0.236/trunk@115538 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:37:42 +00:00
ian.mcgreer%sun.com
3711f08f77 bug 125808, refresh trust and slot pointers of cert after token removal/insertion
git-svn-id: svn://10.0.0.236/trunk@115513 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:55:30 +00:00
relyea%netscape.com
a81db5e449 Fix PSM name problem.
Fix crash when trying to access/delete an non-existant object.


git-svn-id: svn://10.0.0.236/trunk@115505 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 21:30:13 +00:00
relyea%netscape.com
5aa10f8236 Load builtins even if we are openning the database read only.
git-svn-id: svn://10.0.0.236/trunk@115504 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 21:28:47 +00:00
ian.mcgreer%sun.com
ed3713311b bug 126653, intermediate cert should have valid CA trust
git-svn-id: svn://10.0.0.236/trunk@115503 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 19:41:51 +00:00
cathleen%netscape.com
2de3f624f6 fix build bustage due to nsCRT::strlen(char* s) removed
git-svn-id: svn://10.0.0.236/trunk@115473 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 05:14:10 +00:00
ian.mcgreer%sun.com
2da9c0987b misdeclared function signature
git-svn-id: svn://10.0.0.236/trunk@115461 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 01:32:32 +00:00
ian.mcgreer%sun.com
1e75bfc90c fix aix bustage
git-svn-id: svn://10.0.0.236/trunk@115450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 23:17:12 +00:00
ian.mcgreer%sun.com
ee50e62257 bug 125808, smart card cache fixes
git-svn-id: svn://10.0.0.236/trunk@115447 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 22:41:56 +00:00
ian.mcgreer%sun.com
185ed3d0f6 fix looking up a key on a token
git-svn-id: svn://10.0.0.236/trunk@115445 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 22:12:06 +00:00
bishakhabanerjee%netscape.com
1ce1f61b7f Bug 127785 - checked in cseawood's patch
git-svn-id: svn://10.0.0.236/trunk@115443 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:49:41 +00:00
ian.mcgreer%sun.com
c8a065c248 partial fix for bug 125808, if the otken is not logged in when the cert cache loading is done, retry later
git-svn-id: svn://10.0.0.236/trunk@115441 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:36:19 +00:00
oeschger%netscape.com
2d6732e6d1 these syntax updates fell through the cracks of the Monday check-in for restoring context-sensitive help, r=andrew, security r=ssaux, sr=alecf, a=asa, bug=124902
git-svn-id: svn://10.0.0.236/trunk@115438 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 21:12:23 +00:00
wtc%netscape.com
df64ab2a97 Bugzilla bug 108021: removed unused variable 'validity'.
git-svn-id: svn://10.0.0.236/trunk@115434 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 19:39:26 +00:00
relyea%netscape.com
ace4e0564e remove LastUpdate time checks from Crl's when verifying certificates.
git-svn-id: svn://10.0.0.236/trunk@115432 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 18:56:24 +00:00
relyea%netscape.com
498b19f4ab Don't crash on when adding certs with null url's .
git-svn-id: svn://10.0.0.236/trunk@115429 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 16:59:33 +00:00
relyea%netscape.com
2fd301c4bb The KRL reserved handled should be different from the primordial CRL handle
so that CRL matching code will work correctly.


git-svn-id: svn://10.0.0.236/trunk@115428 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 16:57:45 +00:00
kaie%netscape.com
cc572f4f37 b=125259 r=rangansen sr=shaver a=asa
Edit CA dialog misshaped


git-svn-id: svn://10.0.0.236/trunk@115416 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 09:50:21 +00:00
nelsonb%netscape.com
76f9a42d49 1. the sslSecurityInfo and sslGather structs are now part of the sslSocket
rather than being pointed to by the sslSocket.  This reduces the number
of malloc/free calls, and greatly reduces pointer fetches, and null
pointer checks.  sslGather and sslSecurityInfo are separately initialized.
2. SSL_ResetHandshake no longer deallocates and reallocates the sslSecurityInfo and all its subcomponents.
3. Many places that formerly did not check for memory allocation failures
now do check, and do the right thing when allocation failed.


git-svn-id: svn://10.0.0.236/trunk@115407 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 04:40:17 +00:00
wtc%netscape.com
118ad3c9f7 Bugzilla bug 127517: Darwin optimized build should use -O2. The patch is
contributed by Brian Ryner <bryner@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@115401 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:48:41 +00:00
ian.mcgreer%sun.com
ba654ff84f bug 125796, make sure all CERTCertificates are destroyed as such, and that cache collisions when traversing are handled correctly (by destroying extra reference)
git-svn-id: svn://10.0.0.236/trunk@115371 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 16:21:48 +00:00
nicolson%netscape.com
fdae976915 Initial checkin of the keystore code. It's not complete yet, but
I want others to be able to see it and comment on it.


git-svn-id: svn://10.0.0.236/trunk@115355 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 04:19:33 +00:00
relyea%netscape.com
e2ffd199c0 When using global params, noCertDB implies noKeyDB as well bug 127312
git-svn-id: svn://10.0.0.236/trunk@115347 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 02:28:21 +00:00
relyea%netscape.com
99db5dd573 CRL issues: 1) return url when finding and importing CRL's.
2) fix CERT_ImportCRL so it actually works.

NOTE: Calls of SEC_NewCrl() should verify the signature on the CRL before
importing!.


git-svn-id: svn://10.0.0.236/trunk@115345 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 02:02:53 +00:00
oeschger%netscape.com
8599fca924 restore context-sensitive help to ui: new help file to include and updated syntax, bug=124902, a=asa/drivers, sr=alecf, r=andreww, r=ssaux for security ui
git-svn-id: svn://10.0.0.236/trunk@115343 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 01:14:09 +00:00
relyea%netscape.com
eb8490a832 Bug 125728 truncate utf8 correctly in the pkcs11 string.
git-svn-id: svn://10.0.0.236/trunk@115338 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:33:42 +00:00
relyea%netscape.com
6977d8c974 Changes to allow protected pin path to work in applications that code for it.
git-svn-id: svn://10.0.0.236/trunk@115337 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:28:50 +00:00
nelsonb%netscape.com
2b8a7de572 Change ssl_GetPeerInfo to no longer assume that an address is IPV6 if
it's not IPv4.  Fixes a bug on systems that don't support IPV6, but
do support other address families.


git-svn-id: svn://10.0.0.236/trunk@115336 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 00:28:15 +00:00
wtc%netscape.com
94bb41db11 Removed the temporary depend->clean hack for NSS 3.4 update.
Modified Files:
	Makefile.in security/manager/Makefile.in
	security/nss/makefile.win


git-svn-id: svn://10.0.0.236/trunk@115268 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 04:41:30 +00:00
wtc%netscape.com
ba96145cb0 Temporary hack for the NSS 3.4 update (BeOS port, etc.) Will remove
tomorrow.
Modified files: Makefile.in security/manager/Makefile.in
                security/nss/makefile.win


git-svn-id: svn://10.0.0.236/trunk@115237 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 21:26:29 +00:00
seawood%netscape.com
a5df41d59b Use blocking sockets for SSL connections since BeOS does not have support for nonblocking sockets.
Bug #70217 r=wtc a=shaver


git-svn-id: svn://10.0.0.236/trunk@115217 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 09:30:31 +00:00
wtc%netscape.com
52f5bfd019 Bugzilla bug 70217: ported NSS to BeOS. The patch is contributed by
Christopher Seawood <seawood@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@115206 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 04:23:30 +00:00
ian.mcgreer%sun.com
202313e65b bug 125359, by default the ASN.1 en/decoder should treat all numbers as signed. But many source/target items desire unsigned integers (specifically, bignums in the crypto stuff), so implement an siUnsignedInteger type which notifies the en/decoder to handle the conversion.
r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@115170 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 22:41:44 +00:00
nelsonb%netscape.com
4b069d41b2 Fix warning on Windows builds. Bug 104541.
git-svn-id: svn://10.0.0.236/trunk@115167 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 21:23:14 +00:00