2989 Commits

Author SHA1 Message Date
ian.mcgreer%sun.com
e837eb40ac bug 129709, incorrect free of cert->nickname
r=wtc


git-svn-id: svn://10.0.0.236/trunk@116562 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 17:42:02 +00:00
ian.mcgreer%sun.com
f8d0860eef bug 129778, cert instances incorrectly reset when cert was not deleted
checked in for wtc, r=mcgreer


git-svn-id: svn://10.0.0.236/trunk@116561 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 17:39:12 +00:00
seawood%netscape.com
08665a280f Remove now redudant REGCHROME calls.
Bug#129456 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@116532 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 07:11:30 +00:00
seawood%netscape.com
14a4c38766 Remove REGCHROME calls since we now auto-register chrome when jars are processed.
Bug #129456 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@116531 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 06:17:54 +00:00
wtc%netscape.com
a8e2c91a4d Bugzilla bug 130703: fixed several issues in the NSS 3.4 exported headers.
1) Preseve the position of NSS 3.3 elements in the data structures.  Some
new fields replace some old deprecated fields where possible to preserve
the total size of the structure.
2) Stan headers are removed from public exports.
3) Some exported functions didn't have prototypes in the public headers.
4) One bug fix: dev3hack.c did not pass the second argument to
nssToken_DestroyCertList.
5) Include the necessary headers to fix undeclared function warnings.


git-svn-id: svn://10.0.0.236/trunk@116522 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 04:12:25 +00:00
wtc%netscape.com
6e48c6cbb2 Bugzilla bug 130158: fixed a crash in NSC_CopyObject if pk11_CopyObject
fails.


git-svn-id: svn://10.0.0.236/trunk@116520 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 03:34:11 +00:00
oeschger%netscape.com
1b85783f61 left-overs from last week's syntax change to help, should been updated url+key->key, a=asa,r=andreww,r=ssaux, sr=alecf, bug=124902, got left out
git-svn-id: svn://10.0.0.236/trunk@116490 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 21:05:21 +00:00
nicolson%netscape.com
b07f0e44c9 Fix 129756: PK11_SetObjectNickname is broken.
r=relyea.


git-svn-id: svn://10.0.0.236/trunk@116365 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 01:50:57 +00:00
kaie%netscape.com
4389d95a7f b=125807 Fix Lock Icon Set Incorrectly
Checking in for ddrinan
r=kaie sr=mscott a=asa


git-svn-id: svn://10.0.0.236/trunk@116204 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 22:27:16 +00:00
wtc%netscape.com
6281ef2ac8 Bugzilla bug 129298: the assertion may be false. Remove it, and initialize
stanNick to NULL.  r=mcgreer.


git-svn-id: svn://10.0.0.236/trunk@116106 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 00:02:35 +00:00
relyea%netscape.com
156fb9e6dc Cache whether there are no CRL's and Trust objects on removable HW tokens
git-svn-id: svn://10.0.0.236/trunk@116101 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 23:21:39 +00:00
ian.mcgreer%sun.com
8f075ae6a7 additional change to last patch, suggested by wtc
r=wtc


git-svn-id: svn://10.0.0.236/trunk@116099 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:53:40 +00:00
ian.mcgreer%sun.com
8e15d46893 bug 129298, handle different nicknames across tokens
r=relyea/a=wtc


git-svn-id: svn://10.0.0.236/trunk@116093 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:08:00 +00:00
nelsonb%netscape.com
648062ebf2 Build p7content p7env p7sign and p7verify using nss shared libs.
bug 129354.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@116092 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:07:21 +00:00
nelsonb%netscape.com
b03f9ba8a6 Add support for new -p option to pass password to PK11 token.
Patch by evanchu@aol.com (Evan Chu).  r=nelsonb a=wtc bug 129354.


git-svn-id: svn://10.0.0.236/trunk@116091 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:05:43 +00:00
wtc%netscape.com
f50c7bbbfa Bugzilla bug 129408: removed the "FOR PSM" comment. All of these NSS 3.4
exports are fine for general use.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@116087 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 21:31:05 +00:00
wtc%netscape.com
53ab332e0a Bugzilla bug 129408: final adjustments of the NSS 3.4 *.def files. List
the symbols in alphabetical order.  In softokn.def, changed "Sofoken 3.4
release" to "NSS 3.4 release, which is what we use in other *.def files.
Added seven new PKCS7 exports to smime.def.  r=relyea
Modified files: nss.def smime.def softokn.def ssl.def


git-svn-id: svn://10.0.0.236/trunk@116083 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 21:18:49 +00:00
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