wtc%netscape.com
5f7e803993
Bugzilla bug 131427: add "for Clients" to the version id strings in the
...
softoken shared library if MOZ_CLIENT is defined. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@116994 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 21:17:30 +00:00
wtc%netscape.com
796755f94c
Bugzilla bug 131430: changed "softoken" to "softokn" to match the file
...
name. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@116950 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 04:43:41 +00:00
wtc%netscape.com
0470369454
Bugzilla bug 131427: added sccs and rcs version id strings to the softoken
...
shared library. r=relyea.
Modified files: manifest.mn pkcs11.c
Added file: softkver.c
git-svn-id: svn://10.0.0.236/trunk@116948 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 04:38:09 +00:00
sonja.mirtitsch%sun.com
bbf56ac88d
patch for bug 87914 r=wtc, NSS test scripts require . in the PATH
...
git-svn-id: svn://10.0.0.236/trunk@116945 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 03:01:27 +00:00
sonja.mirtitsch%sun.com
eb188276f8
uploading only waht's specified in the parameters
...
git-svn-id: svn://10.0.0.236/trunk@116873 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 19:54:16 +00:00
wtc%netscape.com
2310835981
Bugzilla bug 131289: fixed a UMR error and bad placement of the terminating
...
null byte of a string in nss_FindExternalRoot. r=mcgreer.
git-svn-id: svn://10.0.0.236/trunk@116664 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 23:05:58 +00:00
wtc%netscape.com
2f6a07086b
Fixed a memory leak on memory allocation error. r=mcgreer. (bug 129709)
...
git-svn-id: svn://10.0.0.236/trunk@116662 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 22:09:45 +00:00
wtc%netscape.com
0312d76fcb
Bugzilla bug 130703: final adjustment of the CERTSignedCrl structure for
...
NSS 3.4. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@116656 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 20:21:45 +00:00
wtc%netscape.com
6df50775c7
Bugzilla bug 130983: SEC_FindCrlByName needs to set the 'pkcs11ID' field
...
of the CERTSignedCrl structure it returns. The patch is contributed by
Rangan Sen <rangansen@netscape.com>. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@116655 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 20:17:15 +00:00
relyea%netscape.com
d0f2ca5260
handle older tokens that do not handle GetAttributes correctly.
...
git-svn-id: svn://10.0.0.236/trunk@116654 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 19:51:27 +00:00
ian.mcgreer%sun.com
bf3291aaf7
bug 130747, update trust after login to catch user certs when token doesn't return public key (ncipher)
...
git-svn-id: svn://10.0.0.236/trunk@116652 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 19:23:14 +00:00
wtc%netscape.com
4d2eddeffb
Bugzilla bug 131078: fixed compiler warnings. r=mcgreer.
...
git-svn-id: svn://10.0.0.236/trunk@116631 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 06:07:41 +00:00
wtc%netscape.com
53cfca6a3b
Bugzilla bug 131057: define PORT_Strdup as PL_strdup so that it uses NSPR's
...
memory allocator. r=mcgreer. Modified files: secport.c secport.h
git-svn-id: svn://10.0.0.236/trunk@116629 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 05:54:22 +00:00
wtc%netscape.com
54c69f0c8c
The previous checkin breaks signtool on Linux, AIX, and OSF1. Backing it
...
out.
git-svn-id: svn://10.0.0.236/trunk@116627 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 05:27:34 +00:00
wtc%netscape.com
84b5f7c714
Bugzilla bug 131062: fixed a zlib vulnerability.
...
git-svn-id: svn://10.0.0.236/trunk@116607 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 01:43:49 +00:00
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
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
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
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
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
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
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
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