4795 Commits

Author SHA1 Message Date
jpierre%netscape.com
864307b348 Fix strings in SECU_PrintError. bug 233493
git-svn-id: svn://10.0.0.236/trunk@152686 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-12 02:09:28 +00:00
wchang0222%aol.com
c085f87be8 Bugzilla bug 229297: fixed compiler warning "conversion from 'double' to
'long', possible loss of data".  r=jpierre,relyea.


git-svn-id: svn://10.0.0.236/trunk@152676 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 19:43:29 +00:00
wchang0222%aol.com
6b05bffd49 Bugzilla bug 229293: fixed compiler warning "unary minus operator applied
to unsigned type". r=relyea,jpierre.


git-svn-id: svn://10.0.0.236/trunk@152675 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 19:37:18 +00:00
jpierre%netscape.com
908536cb6c Fix for bug 233605 . Check CRL entry extensions after partial decoding. Also add some new CRL decoding errors. r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@152653 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:05:18 +00:00
jpierre%netscape.com
72bc0d7e4f Fix for 233493 . Corrections based on Wan-Teh's feedback.
git-svn-id: svn://10.0.0.236/trunk@152650 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 05:28:06 +00:00
jpierre%netscape.com
1f99d2576b Fix for 233118 . additional check for CRL signing usage. r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@152649 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 05:25:01 +00:00
wchang0222%aol.com
52a30d3a68 Bugzilla bug 232742: support Linux/AMD64. The patch is contributed by
Henrik Lynggaard Hansen <admin@mozillatranslator.org>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@152635 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:31:22 +00:00
wchang0222%aol.com
6986f24e74 Bugzilla bug 233321: fixed the problem with building utf8.c as a standalone
test program.  Fixed byte-order issue on little-endian architecture.
r=nelsonb.
Modified Files: Makefile utf8.c


git-svn-id: svn://10.0.0.236/trunk@152633 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:17:24 +00:00
bishakhabanerjee%netscape.com
d22d64e0b5 checking in 5 sections of Certificate Policies. Need to set
NSS_NO_PKITS_POLICIES to run these five sections


git-svn-id: svn://10.0.0.236/trunk@152628 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 01:31:43 +00:00
jpierre%netscape.com
509098034f Fix for 233493 - fix symkeyutil build on OS/2. r=relyea
git-svn-id: svn://10.0.0.236/trunk@152618 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 23:49:10 +00:00
bishakhabanerjee%netscape.com
ad9de3df73 removing dependency of a testcase on a previous testcase; i.e. each testcase
now imports all the CRLs required for it, and then deletes them at the end
of the test


git-svn-id: svn://10.0.0.236/trunk@152567 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 23:33:26 +00:00
jst%mozilla.jstenback.com
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
wchang0222%aol.com
a14daeb4f5 Bugzilla bug 233319: prepend, rather than append, the NSS lib and bin
directories to PATH. r=relyea.


git-svn-id: svn://10.0.0.236/trunk@152564 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:39:11 +00:00
nelsonb%netscape.com
47bae21d3c Enable a chain to validate when a perm cert has been issued by a
temp cert.  Bug 233038. r=ian,relyea


git-svn-id: svn://10.0.0.236/trunk@152459 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 07:17:31 +00:00
wchang0222%aol.com
8f1f979564 Bugzilla bug 225808: 1. Use a 32-bit integer type for cert->nsCertType so
that it can be safely passed to PR_AtomicSet on all platforms.  Note that
we still use an unsigned type to avoid introducing signed/unsigned compiler
warnings.  2. Added a (PRInt32 *) cast to eliminate a pre-existing
signed/unsigned warning.  r=nelsonb.
Modified Files: certdb.c certt.h


git-svn-id: svn://10.0.0.236/trunk@152447 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 01:41:15 +00:00
wchang0222%aol.com
9d5d8e591b Bugzilla bug 233239: do not include cmd/zlib and cmd/lib headers and
libraries in NSS binary releases.
Modified Files:
	lib/Makefile lib/manifest.mn makepqg/manifest.mn zlib/Makefile
	zlib/manifest.mn


git-svn-id: svn://10.0.0.236/trunk@152442 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 00:26:02 +00:00
wchang0222%aol.com
f7d2a1dfa4 Bugzilla bug 123693: improved the fix for this bug. Maintain the
consistency between the slot hash table and slot list when the
creation of a slot fails. r=relyea,nelsonb.


git-svn-id: svn://10.0.0.236/trunk@152404 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 02:04:48 +00:00
wchang0222%aol.com
0882fac1ee Bugzilla bug 233112: fixed a typo: "futuer" -> "future". Thanks to
Heikki Toivonen <hjtoi-bugzilla@comcast.net> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@152357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 05:56:54 +00:00
bishakhabanerjee%netscape.com
52d432a62e added a few more missing $ for variable PKITSdb for more accurate log reporting
also, minor optimization of crlImport and crlImportn script so that $crls does
not have to be specified on every line


git-svn-id: svn://10.0.0.236/trunk@152299 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 20:04:14 +00:00
kairo%kairo.at
9eeba6dafc bug 232011 - Use the XUL preprocessor for build-time inserting of localeVersion strings, this removes contents*.rdf.in files and resurrects the contents*.rdf files, using preprocessor.pl via the jar.mn definitions
git-svn-id: svn://10.0.0.236/trunk@152289 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 14:24:38 +00:00
nelsonb%netscape.com
0bd0446c75 Fix numerous bugs in CERT_FindCertByKeyID. Bug 233019. r=jpierre
git-svn-id: svn://10.0.0.236/trunk@152284 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 08:54:06 +00:00
nelsonb%netscape.com
d5ba0488c8 Add a feature to disable all use of CRLs with an environment variable.
Don't run most vfychain commands after crlutil fails to import the CRL,
when that is the expected result.
Remove one error that caused the HTML output to be invalid.


git-svn-id: svn://10.0.0.236/trunk@152270 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 04:07:32 +00:00
nelsonb%netscape.com
459ee85564 Put in missing $, so log output will show actual commands exeuted.
git-svn-id: svn://10.0.0.236/trunk@152267 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 02:23:40 +00:00
bishakhabanerjee%netscape.com
26eb67df23 correcting header of section 4.1, minor edits to make headers more definitive
git-svn-id: svn://10.0.0.236/trunk@152236 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 20:13:26 +00:00
dbaron%dbaron.org
a994a81ad3 Fix some incorrect string usage and improve performance in a few places that show up in an LXR search for the previous pattern. b=232339 r=jshin sr=darin
git-svn-id: svn://10.0.0.236/trunk@152231 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 18:23:41 +00:00
nelsonb%netscape.com
ac3bc59264 Invoke crlImportn instead of crlImport in several places where a
negative outcome is expected.  More work on this is needed.
crlImportN should return a value that tells us if it actually failed,
so that the script can decide whether or not to proceed with vfychain.
But this change makes the outcome more green, less red.


git-svn-id: svn://10.0.0.236/trunk@152210 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 07:14:52 +00:00
nelsonb%netscape.com
655c12b01b Honor key usage extensions, whether they're critical or not.
Bug 232738. r=jpiperre.


git-svn-id: svn://10.0.0.236/trunk@152209 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 07:10:04 +00:00
nelsonb%netscape.com
fe97c4ffca Max crlutil return 0 or 1 correctly, depending on the success of the
operation.  Bug 232937.  r=jpierre.


git-svn-id: svn://10.0.0.236/trunk@152208 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 06:59:35 +00:00
nelsonb%netscape.com
9d6fe2e700 Change script so that html output and logfile will be broken up into
clearly defined and easy-to-find sections.


git-svn-id: svn://10.0.0.236/trunk@152205 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 04:15:08 +00:00
nelsonb%netscape.com
a89537c2c9 Make output log file more readable by separating each test case.
git-svn-id: svn://10.0.0.236/trunk@152200 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 03:07:38 +00:00
bishakhabanerjee%netscape.com
b57301e2b4 fixed one typo
git-svn-id: svn://10.0.0.236/trunk@152192 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 01:27:47 +00:00
bishakhabanerjee%netscape.com
d9d5e94e84 checking with all latest revew comments addressed
git-svn-id: svn://10.0.0.236/trunk@152190 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 00:59:53 +00:00
neil%parkwaycc.co.uk
a0eae1a34a Bug 232186 Remove deprecated nsIPref usage from PKI chrome moa=kaie r=caillon sr=brendan
git-svn-id: svn://10.0.0.236/trunk@152125 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 21:11:27 +00:00
jgmyers%speakeasy.net
aa91c6c0d8 Extend set of OIDs mapped to text: bug 97406 r=kaie sr=spitzer
git-svn-id: svn://10.0.0.236/trunk@152111 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 07:10:35 +00:00
jgmyers%speakeasy.net
60bb6d60d1 Don't use strcmp() on UTF-16: bug 154121 r=kaie sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@152110 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 07:09:21 +00:00
nelsonb%netscape.com
83a979af58 When an attempt to initialize a slot fails, free up the resources
right away, rather than waiting until NSS_Shutdown.  Bug 123693.
Second try.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@152068 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 04:15:47 +00:00
nelsonb%netscape.com
ac040243c0 Back out rev 1.90. It breaks shlibsign.
git-svn-id: svn://10.0.0.236/trunk@152055 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 23:34:21 +00:00
nelsonb%netscape.com
966f24a024 Export SECOID_AddEntry. Bug 132942. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@152052 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:51:55 +00:00
nelsonb%netscape.com
6a696f9188 Invoke SECU_RegisterDynamicOids() so that more OIDs will print out.
Bug 132942.  a=wtc.


git-svn-id: svn://10.0.0.236/trunk@152051 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:48:58 +00:00
nelsonb%netscape.com
14340b9719 Bug 132942. r=wtc
Make the following enhancements to NSS's ASN.1 printing code:
- Print warning messages that are properly indendented.
- PrintAsHex notices when the buffer contains entirely printable characters, and is larger than an int, and prints it as text in that case.
- PrintRawString now indents the string, rather than always printing it on
a separate line.
- now prints decoded bit strings
- now prints BMP (UCS2) strings as strings (not as hex) when they contain only printable ASCII characters.
- now prints Universal (UCS4) Strings as strings (not hex) when they contain only printable ASCII characters.
- Decodes certain encoded data that was previously printed as hex.
- Generically decodes ASN.1 data, rather than merely printing an error, when the ASN.1 data doesn't fit a known template.
- properly handles all optional components of basic constraints extensions.
- Prints the names of the bits in the X509 Key Usage extension.
- Prints General Names.
- Print Auth Key ID extensions
- Print subject and issuer alt name extensions
- Print CRL distribution points extensions
- format and print name constraints extensions
- print Authority Information Access extensions
- Print optional X509v2 subject and issuer Unique ID bit strings


git-svn-id: svn://10.0.0.236/trunk@152050 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:45:20 +00:00
nelsonb%netscape.com
a27747ac5b Change some comments and one variable as suggested in review comments.
r=relyea,wtc.  Bug 124923.


git-svn-id: svn://10.0.0.236/trunk@152043 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 21:57:41 +00:00
nelsonb%netscape.com
e67ef64ae6 Make SECOID_AddEntry be thread safe. Export it. Bug 124923. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@152036 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 21:23:36 +00:00
nelsonb%netscape.com
b655ec4ccf Plug leaks. Bug 123693. r=wtc,relyea
git-svn-id: svn://10.0.0.236/trunk@152034 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 21:18:24 +00:00
jpierre%netscape.com
13b5f81d25 Fix for 232377 - assertion in vfychain with DSA cert. r=wtc, nelsonb
git-svn-id: svn://10.0.0.236/trunk@151990 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:25:07 +00:00
nelsonb%netscape.com
a9d9ed95da Export cert functions that decode extensions and traverse decoded
extensions.  Bug 231881. r= relyea, wtc.


git-svn-id: svn://10.0.0.236/trunk@151989 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:23:45 +00:00
nelsonb%netscape.com
b0fa299987 Change program return value to reflect test outcome. Bug 221737. r=wtc
git-svn-id: svn://10.0.0.236/trunk@151983 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 22:30:27 +00:00
wchang0222%aol.com
f2ad2c3faa Bugzilla bug 232380: deleted CERT_FindExpiredIssuer, which is dead code.
In cert_VerifyCertChain, make sure that subjectCert and issuerCert never
point to the same cert to prevent from destroying that cert twice.
r=jpierre,nelsonb.
Modified Files: certdb/cert.h certhigh/certvfy.c


git-svn-id: svn://10.0.0.236/trunk@151977 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:51:10 +00:00
jgmyers%speakeasy.net
411a605312 address review comments: bug 231659
git-svn-id: svn://10.0.0.236/trunk@151940 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 04:29:14 +00:00
jgmyers%speakeasy.net
94a241181e rewrite utf8 parser for strictness: bug 231659 r=MisterSSL
git-svn-id: svn://10.0.0.236/trunk@151937 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 03:48:43 +00:00
jgmyers%speakeasy.net
eb2e0d9e56 fix charset conversion: bug 185167 r=kaie sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@151936 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 03:44:38 +00:00