Commit Graph

2972 Commits

Author SHA1 Message Date
ian.mcgreer%sun.com
93335b6c5a bug 129370, temp cert trusts and S/MIME profiles may cause crashes
r/a=wtc


git-svn-id: svn://10.0.0.236/trunk@116072 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:42:40 +00:00
nicolson%netscape.com
25cfdb8ee1 Fix 129389: Algorithm.c treats oidIndex as short when it should be int.
git-svn-id: svn://10.0.0.236/trunk@116018 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 01:59:58 +00:00
jpierre%netscape.com
813a48bf6b Fix for 129201 - allow parameter string to be retrieved in a PKCS#11 module built on top of ckfw
git-svn-id: svn://10.0.0.236/trunk@115968 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 21:41:35 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
relyea%netscape.com
c42edc81c4 bug 125808 :
Reset the token name on token removal.
Check for token presence to reset the session handle.
Consolidate the NSS3 style TokenInit with the stan init so everything is in sync.
r=ddrinan


git-svn-id: svn://10.0.0.236/trunk@115905 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:44:50 +00:00
relyea%netscape.com
fb3f17d7c5 Initialize result to SECSuccess before we return.
git-svn-id: svn://10.0.0.236/trunk@115843 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:14:44 +00:00
ian.mcgreer%sun.com
6275d4e963 missed part of last patch
git-svn-id: svn://10.0.0.236/trunk@115834 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 16:54:16 +00:00
ian.mcgreer%sun.com
546db633a3 bug 125112, don't alloc return array if there are no certs found
git-svn-id: svn://10.0.0.236/trunk@115831 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 16:08:53 +00:00
wtc%netscape.com
3995ddd6d7 Bugzilla bug 128915: the first part of the previous change is not
necessary, so replace it with an assertion.  r=mcgreer.


git-svn-id: svn://10.0.0.236/trunk@115825 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 15:49:33 +00:00
wtc%netscape.com
37739bf3ee Temporary workaround to make 'depend' do a 'clean' in NSS. This is for
the landing described in bug 128593.
Modified Files: Makefile.in security/manager/Makefile.in
	security/nss/makefile.win


git-svn-id: svn://10.0.0.236/trunk@115823 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 15:22:48 +00:00
alecf%netscape.com
455c4d4a53 one more attempt at bustage
git-svn-id: svn://10.0.0.236/trunk@115770 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:12:20 +00:00
alecf%netscape.com
c0f66ed4ef fix NSS bustage
git-svn-id: svn://10.0.0.236/trunk@115768 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:57:13 +00:00
ian.mcgreer%sun.com
a9a015ddaf bug 128915, prevent crash on empty S/MIME profiles
git-svn-id: svn://10.0.0.236/trunk@115752 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:19:20 +00:00
relyea%netscape.com
b05500f1e0 Fix token/cert interactions:
1) don't have certs disappear because we have empty tokens.
2) Make sure the NSSToken structure has up-to-date nicknames.


git-svn-id: svn://10.0.0.236/trunk@115743 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:39:28 +00:00
ian.mcgreer%sun.com
e82ef1f2a4 bug 125808, fix crash seen with Javi's db
git-svn-id: svn://10.0.0.236/trunk@115733 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 21:06:10 +00:00
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