ian.mcgreer%sun.com
028a31b09c
bug 123296, infinite loop in signtool when incorrect password given at command line
...
git-svn-id: svn://10.0.0.236/trunk@117517 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 22:23:28 +00:00
wtc%netscape.com
d6ed4f8b39
Bugzilla bug 133545: fixed spelling errors "signning" in certutil memu
...
options. Thanks to Eric Murphy <ericmurphy@jabber.org> for the bug report.
git-svn-id: svn://10.0.0.236/trunk@117516 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 22:22:07 +00:00
nicolson%netscape.com
8b535dcde0
Fix 130522: ASN.1 decoder asserts with corrupt input.
...
r=wtc
git-svn-id: svn://10.0.0.236/trunk@117447 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 01:13:23 +00:00
wtc%netscape.com
33c1c8aa70
Bugzilla bug 132461: changes suggested by Bob Relyea after his code review:
...
1. Add SECMOD_LoadModule back to nss.def.
2. Back out the SECMOD_AddModule/AddModuleEx changes.
I also updated the comments and made some changes to emulate the
indentation and comment styles of the original code.
Modifies files: nss/nss.def pk11wrap/pk11pars.c pk11wrap/pk11util.c
git-svn-id: svn://10.0.0.236/trunk@117436 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 00:43:04 +00:00
wtc%netscape.com
2a0c9bb840
Bugzilla bug 132483: fixed the bug that ckfw destroys an object before its
...
handle. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@117314 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 16:10:07 +00:00
wtc%netscape.com
c6e7cdc5ad
Bugzilla bug 131427: added softkver.c to softoken Mac build. Set
...
MWFTP_Post_password to null value to reduce the noise in diffs.
git-svn-id: svn://10.0.0.236/trunk@117313 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 15:43:34 +00:00
nelsonb%netscape.com
cb2ed793b0
If an error occurs when attempting to write previously buffered data on
...
a socket, do not override the error code with PR_WOULD_BLOCK_ERROR.
bug 132899.
git-svn-id: svn://10.0.0.236/trunk@117264 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 01:06:08 +00:00
ian.mcgreer%sun.com
706f544f7a
bug 132889, sense of boolean 'blocking' is reversed within the HANDLE_ERR macro of ssl_WriteV
...
git-svn-id: svn://10.0.0.236/trunk@117239 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 22:48:02 +00:00
nelsonb%netscape.com
6d7e9c6fff
Add new bits to struct returned by SSL_GetCipherSuiteInfo. Bug 132438.
...
git-svn-id: svn://10.0.0.236/trunk@117229 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 21:43:43 +00:00
jpierre%netscape.com
e1dfde9a6a
Fix error in SECMOD_UnloadUserModule reportd by Ian for bug 132461 - use Stan remove call rather than add
...
git-svn-id: svn://10.0.0.236/trunk@117072 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 18:44:23 +00:00
wtc%netscape.com
6a1276a42e
Bug 132461: restored the declaration of SECMOD_LoadModule.
...
git-svn-id: svn://10.0.0.236/trunk@117059 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 14:48:58 +00:00
jpierre%netscape.com
88a1e88a2a
Fix for 132461 - add better functions to load and remove modules dynamically r=relyea
...
git-svn-id: svn://10.0.0.236/trunk@117036 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 03:35:28 +00:00
jpierre%netscape.com
fd389b42f8
Fix for 132461 - add better functions to load and remove modules dynamically
...
git-svn-id: svn://10.0.0.236/trunk@117035 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 03:34:47 +00:00
wtc%netscape.com
370ad816ba
Bugzilla bug 131350: export SEC_PKCS12DecoderGetCerts from smime.def.
...
r=relyea.
git-svn-id: svn://10.0.0.236/trunk@117033 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 03:05:49 +00:00
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