4922 Commits

Author SHA1 Message Date
nelsonb%netscape.com
a4e59c4ba6 Detect absent isCA flags in basic constraints. Detect and reject negative
or too large positive path length constraints in basic constraints.
Bug 221644. r=jpierre.


git-svn-id: svn://10.0.0.236/trunk@151433 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 21:33:16 +00:00
nelsonb%netscape.com
fc720b461d Fix template for Cert policy extensions. Bug 230951, r=jpierre
git-svn-id: svn://10.0.0.236/trunk@151407 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 05:36:08 +00:00
nelsonb%netscape.com
4a497ce6d8 Fix NSS parsing of Issuer Unique ID and Subject Unique ID fields in
certificate.  Bug 216116. r=jpierre


git-svn-id: svn://10.0.0.236/trunk@151404 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 02:11:44 +00:00
nelsonb%netscape.com
eccdb3a593 Add vfychain to list of NSS cmds being built nightly. r=wtc. Bug 231025
git-svn-id: svn://10.0.0.236/trunk@151403 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 02:03:08 +00:00
jgmyers%speakeasy.net
1b9009f59e fix comment per review: bug 53133
git-svn-id: svn://10.0.0.236/trunk@151401 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 01:04:57 +00:00
wchang0222%aol.com
74a0d9ae4d Set JSS version to 3.5.
Modified Files:
	org/mozilla/jss/CryptoManager.java
	org/mozilla/jss/util/jssver.h pkg/solaris/Makefile.com


git-svn-id: svn://10.0.0.236/trunk@151398 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 00:50:21 +00:00
wchang0222%aol.com
ed51c26461 Another file, pkg/solaris/Makefile.com, also needs to be updated when we
change the JSS version.


git-svn-id: svn://10.0.0.236/trunk@151397 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 00:48:49 +00:00
wchang0222%aol.com
e422c3c531 Minor change after review of previous checkin. Bug 53133.
git-svn-id: svn://10.0.0.236/trunk@151391 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 22:34:26 +00:00
relyea%netscape.com
38b88af925 Fix build problems on some platforms.
git-svn-id: svn://10.0.0.236/trunk@151368 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 16:27:02 +00:00
wchang0222%aol.com
810494d2f6 Set NSS version to 3.10 Beta.
git-svn-id: svn://10.0.0.236/trunk@151367 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 15:08:58 +00:00
jgmyers%speakeasy.net
7c4f0bc6fa Convert T61String-labeled ISO-8859-1 to UTF-8: bug 53133 r=nelsonb a=wtc
git-svn-id: svn://10.0.0.236/trunk@151360 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:23:14 +00:00
nelsonb%netscape.com
001db31a4b Add 2 additional OIDs to the list of acceptable digestEncryptionAlgIDs,
per RFC 3370. r=thayes.  Bug 230761.


git-svn-id: svn://10.0.0.236/trunk@151331 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-14 22:20:44 +00:00
relyea%netscape.com
29a755c61f Tool to manage pkcs 11 module tests.
git-svn-id: svn://10.0.0.236/trunk@151329 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-14 21:34:20 +00:00
nelsonb%netscape.com
69385e6714 Fix double free introduced in rev 1.54. r=wtc. bug 230774.
Bug occurs only in NSS utilities that import base64 encoded files, e.g.
with the -a option.


git-svn-id: svn://10.0.0.236/trunk@151282 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-14 01:19:26 +00:00
wchang0222%aol.com
aa48f52f9b Bugzilla bug 229289: fixed an unused variable warning. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@151241 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 01:59:41 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
wchang0222%aol.com
b4cb257a4d Upgraded to NSPR 4.4.1 and NSS 3.9.
git-svn-id: svn://10.0.0.236/trunk@151066 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 02:34:14 +00:00
wchang0222%aol.com
714d063904 Bugscape bug 54500: made uniqueNamedKeyExists public.
git-svn-id: svn://10.0.0.236/trunk@151033 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 18:09:15 +00:00
nelsonb%netscape.com
aa8a0fe260 Overload the error code SSL_ERROR_RX_RECORD_TOO_LONG to report SSL2
records that are too short.  Bugscape bug 54814


git-svn-id: svn://10.0.0.236/trunk@151018 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 06:52:00 +00:00
jpierre%netscape.com
9af88d0f5a Rename PK11_PubDeriveExtended to PK11_PubDeriveWithKDF
git-svn-id: svn://10.0.0.236/trunk@151008 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 01:37:46 +00:00
wchang0222%aol.com
d47fb108fc Set NSS version to 3.9.
git-svn-id: svn://10.0.0.236/trunk@151005 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 01:04:56 +00:00
jpierre%netscape.com
610f50842c Rename PK11_FindSlotsByAliases to PK11_FindSlotsByNames
git-svn-id: svn://10.0.0.236/trunk@151002 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 23:12:01 +00:00
jpierre%netscape.com
b259ebb507 Rename CERT_DecodeTimeChoice/CERT_EncodeTimeChoice to DER_DecodeTimeChoice/DER_EncodeTimeChoice
git-svn-id: svn://10.0.0.236/trunk@151001 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 23:07:24 +00:00
bsmedberg%covad.net
7e08b118b7 Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150973 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
9706f93476 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150961 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 01:22:31 +00:00
nelsonb%netscape.com
56dcc6d3b2 Fix crashes in NSS_CMSSignedData_GetDigestValue and
NSS_CMSContentInfo_GetContent that occur when a detached signature is not
accompanied by the data on which the signature was computed. Bug 229242.
Make NSS_CMSContentInfo_GetInnerContent and NSS_CMSMessage_GetContent
more easily debugged, by storing the results returned by function calls
in automatic variables before using them in subsequent calls/switches.


git-svn-id: svn://10.0.0.236/trunk@150958 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 00:09:17 +00:00
relyea%netscape.com
756f471bca Bug 229193
Patch by wtc revied by relyea & ian


git-svn-id: svn://10.0.0.236/trunk@150818 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-31 23:19:26 +00:00
bryner%brianryner.com
661e25c2c5 Fix the security warning dialogs to work as designed for Firebird:
- All dialogs will appear the first time a user encounters them
 - The "show every time" checkbox will default to off
 - If the user checks the checkbox to see the dialogs every time, the choice will be remembered.

Because of the change in default prefs, this will cause Firebird users to see these dialogs again (but defaulted to not show after that) when upgrading.  Bug 172091, r=brendan, sr=ben.


git-svn-id: svn://10.0.0.236/trunk@150816 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-31 23:03:08 +00:00
wchang0222%aol.com
581efa778a Set NSS version to 3.9 Beta 6.
git-svn-id: svn://10.0.0.236/trunk@150704 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 06:22:49 +00:00
wchang0222%aol.com
ec4b0c5de7 Removed unused variable 'val'.
git-svn-id: svn://10.0.0.236/trunk@150701 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 21:40:52 +00:00
wchang0222%aol.com
777d48ae17 Fixed unused variable compiler warning about 'html'. Declare it inside
the same ifdef with which it is used.


git-svn-id: svn://10.0.0.236/trunk@150700 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 21:37:07 +00:00
wchang0222%aol.com
c9c2154735 Removed unused variable 'rawSigLen'.
git-svn-id: svn://10.0.0.236/trunk@150699 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 21:24:01 +00:00
wchang0222%aol.com
3704929bdc Removed unused variable 'attribute'.
git-svn-id: svn://10.0.0.236/trunk@150698 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 21:21:39 +00:00
wchang0222%aol.com
55927b9028 Include "nsslocks.h" for nss_InitLock.
git-svn-id: svn://10.0.0.236/trunk@150656 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 02:09:55 +00:00
wchang0222%aol.com
6160f097ec Declare the argument to SECKEY_ECParamsToKeySize as const.
Modified Files: seckey.c pk11skey.c


git-svn-id: svn://10.0.0.236/trunk@150655 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 02:05:28 +00:00
wchang0222%aol.com
62d9ea8977 Bugscape bug 54500: trim preceding/trailing whitespace from passed-in
String arguments.


git-svn-id: svn://10.0.0.236/trunk@150653 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 01:19:48 +00:00
wchang0222%aol.com
ea1452940c Return a value of the correct type.
git-svn-id: svn://10.0.0.236/trunk@150652 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 01:03:39 +00:00
wchang0222%aol.com
83c3f4f6ba Fixed a spelling error.
git-svn-id: svn://10.0.0.236/trunk@150650 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 00:52:06 +00:00
wchang0222%aol.com
317d5b3480 Moved ecl-curve.h from the EXPORTS to the PRIVATE_EXPORTS list.
git-svn-id: svn://10.0.0.236/trunk@150649 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 00:17:04 +00:00
wchang0222%aol.com
b1d52172e2 Renamed SECKEY_ECParams2KeySize as SECKEY_ECParamsToKeySize. Do not export
this function from the nss3 shared library.
Modified Files: seckey.c pk11skey.c nss.def


git-svn-id: svn://10.0.0.236/trunk@150647 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-22 23:36:40 +00:00
wchang0222%aol.com
01bd384553 Declare the 'input' argument to CERT_DecodeTimeChoice as 'const'. Removed
an extraneous semicolon (;) after the SEC_ASN1_CHOOSER_IMPLEMENT macro.
Modified Files: secder.h sectime.c


git-svn-id: svn://10.0.0.236/trunk@150646 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-22 23:33:39 +00:00
wchang0222%aol.com
8bb0513233 Bugzilla bug 228907: added a stub implementation for the obsolete native
function Java_org_mozilla_jss_pkcs11_PK11Cert_getNickname, which is listed
in the symbol export file jss.def.


git-svn-id: svn://10.0.0.236/trunk@150567 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-20 15:56:11 +00:00
nelsonb%netscape.com
0e69e19a1c Some further cleanup of p12d.c. Bugscape bug 52528. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@150554 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-20 01:33:06 +00:00
wchang0222%aol.com
787bdfd991 Set NSS version to 3.9 Beta 5.
git-svn-id: svn://10.0.0.236/trunk@150553 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-20 00:35:01 +00:00
wchang0222%aol.com
0fd2842063 Made wincx the last argument of PK11_PubDeriveExtended. r=relyea.
Modified Files: pk11func.h pk11skey.c ssl3con.c


git-svn-id: svn://10.0.0.236/trunk@150552 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 23:54:29 +00:00
nelsonb%netscape.com
9d52c08ba2 Impose new limits on RSA public key sizes. 8k bits for modulus,
64 bits for public exponent.  This prevents certain attacks on SSL
servers.  Bugscape bug 54019.  r=wtc,relyea.


git-svn-id: svn://10.0.0.236/trunk@150551 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 23:50:45 +00:00
wchang0222%aol.com
7ea6b2e56c PK11_MoveKey was renamed PK11_MoveSymKey. r=relyea.
Modified Files: symkeyutil.c nss.def pk11func.h pk11skey.c


git-svn-id: svn://10.0.0.236/trunk@150550 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 23:29:43 +00:00
relyea%netscape.com
eed98f4f14 Make database access to the key db thread safe.
git-svn-id: svn://10.0.0.236/trunk@150549 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 23:24:48 +00:00
relyea%netscape.com
110f62d211 Add keydb lock type. keydb should be locked like the certdb.
git-svn-id: svn://10.0.0.236/trunk@150548 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 23:24:00 +00:00
wchang0222%aol.com
0ed5422d2a Backed out the previous checkin, which broke our S/MIME QA tests.
git-svn-id: svn://10.0.0.236/trunk@150547 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 22:54:20 +00:00