Граф коммитов

4874 Коммитов

Автор SHA1 Сообщение Дата
jgmyers%speakeasy.net ad137ed2d2 Clean up TLS intolerant restart code: but 191417 p=darin r=kaie sr=bryner 2004-03-10 05:28:39 +00:00
jpierre%netscape.com 2e6fe47845 Fix for bug 143456 - add -P option for dbprefix to selfserv . r=MisterSSL 2004-03-10 02:47:13 +00:00
jgmyers%speakeasy.net c43d9ba1de Improve dup serno error message: bug 219980 r=ssaux 2004-03-09 02:21:37 +00:00
peterv%propagandism.org e63849b532 Remove stray semicolon. 2004-03-06 17:34:12 +00:00
peterv%propagandism.org 408095fc4e Bustage fix. 2004-03-06 17:22:13 +00:00
peterv%propagandism.org b22645514e Fix for bug 29152 (Cannot do formsigning - crypto.signText). r=kaie, sr=jst. 2004-03-06 15:52:44 +00:00
jgmyers%speakeasy.net 0f97000599 Make KEYGEN tag treat KEYTYPE value case insensitively: bug 139473 r=ddrinan sr=jag 2004-03-06 05:41:38 +00:00
nelsonb%netscape.com 877a8f3fc7 Add conditionally compiled code for NISCC testing of NSS's SSL library.
patch by Ian McGreer.  Bugscape bug 53322.
2004-03-05 23:28:57 +00:00
jgmyers%speakeasy.net f97b41e5d1 make two strings localizable bug 178881 r=ssaux sr=blizzard 2004-03-05 05:42:45 +00:00
jgmyers%speakeasy.net 06f934a820 backout prev checkin 2004-03-05 05:41:45 +00:00
jgmyers%speakeasy.net ee18808ccb make two strings localizable bug 178881 r=ssaux sr=blizzard 2004-03-05 05:38:58 +00:00
bishakhabanerjee%netscape.com 757070dec7 adding platform RH_Linux_7.3 2004-03-04 22:47:43 +00:00
bishakhabanerjee%netscape.com f0eb03e36f adjusting the platform strings as the header file specifies 2004-03-04 20:16:36 +00:00
jgmyers%speakeasy.net ba439774ec remove 512-bit keygen bug 235972 r=ssaux sr=bienvenu 2004-03-04 07:09:02 +00:00
bishakhabanerjee%netscape.com 34abf16656 removed old,unused platforms; and added newer used ones 2004-03-04 00:35:09 +00:00
jpierre%netscape.com 60d624b3ca Fix for 235874 - crash in PK11_DigestKey . r=wtc, nelsonb 2004-03-03 03:18:56 +00:00
darin%meer.net 1d2d419885 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
jgmyers%speakeasy.net c7ea8bc357 fix cert tree view corruption: bug 217082 p=dewildt r=ssaux sr=sspitzer 2004-02-27 03:13:26 +00:00
jgmyers%speakeasy.net c05734181d Clean up string stuff: bug 232812 r=ssaux sr=jag 2004-02-26 04:07:23 +00:00
nelsonb%netscape.com cf4a702ba2 Detect NULL arguments to CERT_DecodeTrustString instead of crashing.
Bug 235617. r=wtc.
2004-02-26 00:05:29 +00:00
bishakhabanerjee%netscape.com 65870a5d38 fix for Bugzilla bug 232481: removed a loop in smime.sh 2004-02-25 23:05:41 +00:00
bishakhabanerjee%netscape.com 2bbf510808 added negative cert import function, changed relevant Policies tests accordingly 2004-02-25 22:34:25 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
nelsonb%netscape.com 1e6e264133 Import base64 encoded certificate files with old MAC line endings.
Bug 221272. sr=wtc.
2004-02-16 23:52:46 +00:00
wchang0222%aol.com 5f45d77d55 Removed unused function _OS_SELECT for AIX. Thanks to Philip K. Warren
<pkw@us.ibm.com> for reporting this.
2004-02-13 03:13:04 +00:00
wchang0222%aol.com 14ab9446d3 Bugzilla bug 233048: 1. Support doing 64-bit Solaris SPARC builds using
gcc.  2. Enable all.sh to work with gcc-compiled NSS tests which require
setting LD_LIBRARY_PATH to point to the directory where libgcc.so resides.
The patch is contributed by Vladim�r Marek <Vladimir.Marek@printsoft.cz>.
r=wtc,nelsonb.
Modified Files: coreconf/SunOS5.mk nss/tests/common/init.sh
2004-02-13 02:47:53 +00:00
jpierre%netscape.com 3d988159e3 Fix strings in SECU_PrintError. bug 233493 2004-02-12 02:08:59 +00:00
wchang0222%aol.com 72b4f0a82f Bugzilla bug 229297: fixed compiler warning "conversion from 'double' to
'long', possible loss of data".  r=jpierre,relyea.
2004-02-11 19:43:29 +00:00
wchang0222%aol.com 92d497302e Bugzilla bug 229293: fixed compiler warning "unary minus operator applied
to unsigned type". r=relyea,jpierre.
2004-02-11 19:37:18 +00:00
jpierre%netscape.com 6cca3beefc Fix for bug 233605 . Check CRL entry extensions after partial decoding. Also add some new CRL decoding errors. r=nelsonb 2004-02-11 06:05:18 +00:00
jpierre%netscape.com 21dcb34f6a Fix for 233493 . Corrections based on Wan-Teh's feedback. 2004-02-11 05:27:32 +00:00
jpierre%netscape.com f0399f13b2 Fix for 233118 . additional check for CRL signing usage. r=nelsonb 2004-02-11 05:25:01 +00:00
wchang0222%aol.com 343223baf3 Bugzilla bug 232742: support Linux/AMD64. The patch is contributed by
Henrik Lynggaard Hansen <admin@mozillatranslator.org>. r=wtc.
2004-02-11 02:31:22 +00:00
wchang0222%aol.com 0015b0322e 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
2004-02-11 02:17:24 +00:00
bishakhabanerjee%netscape.com 3cb3b9cc92 checking in 5 sections of Certificate Policies. Need to set
NSS_NO_PKITS_POLICIES to run these five sections
2004-02-11 01:31:43 +00:00
jpierre%netscape.com 3877f51a30 Fix for 233493 - fix symkeyutil build on OS/2. r=relyea 2004-02-10 23:48:37 +00:00
bishakhabanerjee%netscape.com 9d94b7d3ae 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
2004-02-09 23:33:26 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
wchang0222%aol.com 48abfb9563 Bugzilla bug 233319: prepend, rather than append, the NSS lib and bin
directories to PATH. r=relyea.
2004-02-09 22:39:11 +00:00
nelsonb%netscape.com 9bcf6bba06 Enable a chain to validate when a perm cert has been issued by a
temp cert.  Bug 233038. r=ian,relyea
2004-02-07 07:17:31 +00:00
wchang0222%aol.com 1eceb408a4 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
2004-02-07 01:41:15 +00:00
wchang0222%aol.com 8174f82b2a 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
2004-02-07 00:26:02 +00:00
wchang0222%aol.com 31cb0b2ebb 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.
2004-02-06 02:04:48 +00:00
wchang0222%aol.com b8350510e0 Bugzilla bug 233112: fixed a typo: "futuer" -> "future". Thanks to
Heikki Toivonen <hjtoi-bugzilla@comcast.net> for the bug report.
2004-02-05 05:56:54 +00:00
bishakhabanerjee%netscape.com ae563c8b57 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
2004-02-04 20:04:14 +00:00
kairo%kairo.at 9ec4b6c21a 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 2004-02-04 14:24:38 +00:00
nelsonb%netscape.com 15ab853103 Fix numerous bugs in CERT_FindCertByKeyID. Bug 233019. r=jpierre 2004-02-04 08:54:06 +00:00
nelsonb%netscape.com b2c290e682 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.
2004-02-04 04:07:32 +00:00
nelsonb%netscape.com 6c156a7f01 Put in missing $, so log output will show actual commands exeuted. 2004-02-04 02:23:40 +00:00
bishakhabanerjee%netscape.com 76865b1ed6 correcting header of section 4.1, minor edits to make headers more definitive 2004-02-03 20:13:26 +00:00
dbaron%dbaron.org 71a7773d75 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 2004-02-03 18:23:41 +00:00
nelsonb%netscape.com ddc08ff79d 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.
2004-02-03 07:14:52 +00:00
nelsonb%netscape.com 68ca6ac4ad Honor key usage extensions, whether they're critical or not.
Bug 232738. r=jpiperre.
2004-02-03 07:10:04 +00:00
nelsonb%netscape.com eba26f5336 Max crlutil return 0 or 1 correctly, depending on the success of the
operation.  Bug 232937.  r=jpierre.
2004-02-03 06:59:35 +00:00
nelsonb%netscape.com df5c3e2347 Change script so that html output and logfile will be broken up into
clearly defined and easy-to-find sections.
2004-02-03 04:15:08 +00:00
nelsonb%netscape.com 5842f65a6f Make output log file more readable by separating each test case. 2004-02-03 03:07:38 +00:00
bishakhabanerjee%netscape.com 8d35c478d7 fixed one typo 2004-02-03 01:27:47 +00:00
bishakhabanerjee%netscape.com 31eae812f3 checking with all latest revew comments addressed 2004-02-03 00:59:53 +00:00
neil%parkwaycc.co.uk 20c1620040 Bug 232186 Remove deprecated nsIPref usage from PKI chrome moa=kaie r=caillon sr=brendan 2004-01-31 21:11:27 +00:00
jgmyers%speakeasy.net 76264234dc Extend set of OIDs mapped to text: bug 97406 r=kaie sr=spitzer 2004-01-31 07:10:35 +00:00
jgmyers%speakeasy.net d9dfdc173c Don't use strcmp() on UTF-16: bug 154121 r=kaie sr=sspitzer 2004-01-31 07:09:21 +00:00
nelsonb%netscape.com 3362ec5c98 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.
2004-01-30 04:15:47 +00:00
nelsonb%netscape.com 66a5f14215 Back out rev 1.90. It breaks shlibsign. 2004-01-29 23:34:21 +00:00
nelsonb%netscape.com 3746806bae Export SECOID_AddEntry. Bug 132942. r=wtc. 2004-01-29 22:51:55 +00:00
nelsonb%netscape.com 87037886de Invoke SECU_RegisterDynamicOids() so that more OIDs will print out.
Bug 132942.  a=wtc.
2004-01-29 22:48:58 +00:00
nelsonb%netscape.com 1178524031 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
2004-01-29 22:45:20 +00:00
nelsonb%netscape.com ffac3ff18d Change some comments and one variable as suggested in review comments.
r=relyea,wtc.  Bug 124923.
2004-01-29 21:57:41 +00:00
nelsonb%netscape.com ae49b07260 Make SECOID_AddEntry be thread safe. Export it. Bug 124923. r=relyea. 2004-01-29 21:23:36 +00:00
nelsonb%netscape.com aa1cc56ff2 Plug leaks. Bug 123693. r=wtc,relyea 2004-01-29 21:18:24 +00:00
jpierre%netscape.com 0b2945333d Fix for 232377 - assertion in vfychain with DSA cert. r=wtc, nelsonb 2004-01-28 23:25:07 +00:00
nelsonb%netscape.com 770792a092 Export cert functions that decode extensions and traverse decoded
extensions.  Bug 231881. r= relyea, wtc.
2004-01-28 23:23:45 +00:00
nelsonb%netscape.com 2cd0aefb3a Change program return value to reflect test outcome. Bug 221737. r=wtc 2004-01-28 22:30:27 +00:00
wchang0222%aol.com 218facb68e 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
2004-01-28 21:51:10 +00:00
jgmyers%speakeasy.net d001ae79d0 address review comments: bug 231659 2004-01-28 04:29:14 +00:00
jgmyers%speakeasy.net 21362b48fa rewrite utf8 parser for strictness: bug 231659 r=MisterSSL 2004-01-28 03:48:43 +00:00
jgmyers%speakeasy.net ca5e04ee48 fix charset conversion: bug 185167 r=kaie sr=sspitzer 2004-01-28 03:44:38 +00:00
jpierre%netscape.com 9eb7b71e75 Fix for 231051 - crlutil asserts after deleting CRL. r=wtc, nelsonb 2004-01-28 01:17:13 +00:00
wchang0222%aol.com 808ec4877d Bugzilla bug 231018: use AIX.mk for all AIX versions. Removed the
AIXm.n.mk files.  Removed support for AIX 3.2, 4.1, and 4.2.  Removed
unused make variable EXPORT_RULES.  Removed unused macro define -DAIX4_3.
The patch is contributed by Philip K. Warren <pkw@us.ibm.com>. r=wtc.
Modified Files:
	AIX.mk config.mk
Removed Files:
	AIX3.2.mk AIX4.1.mk AIX4.2.mk AIX4.3.mk AIX5.1.mk AIX5.2.mk
2004-01-27 23:55:38 +00:00
relyea%netscape.com d1378d4081 bug 231698: fix regression in reading SDR data in databases written on 64-bit platforms.
r=MisterSSL
2004-01-27 18:31:29 +00:00
caillon%returnzero.com 1ed44eba40 AddRef() the out parameter, and check for OOM.
Fixes bug 231709, iframes pointing to signed XUL crashes browser
r+sr=jst
2004-01-27 05:01:48 +00:00
jpierre%netscape.com ed30b5426d Fix for 231051 - crlutil asserts after importing CRL. r=nelsonb, wtc 2004-01-27 00:02:16 +00:00
nelsonb%netscape.com 367ac2cf5c Fix crashes that occur when optional policyQualifiers are not present.
Bug 230951. r=kinmoz.
2004-01-23 22:50:01 +00:00
wchang0222%aol.com 77ef0ec709 Bumped version to 1.50 (for NSS 3.10). 2004-01-23 22:15:39 +00:00
nelsonb%netscape.com e1776d7a4b RFC 3280 says Name Constraints do not apply to self-issued CA certs,
including self-issued intermediate CA certs (so-called "roll-over" certs).
This fixes an NISCC test failure.  Bug 231030. r=wtc.
2004-01-23 06:06:06 +00:00
nelsonb%netscape.com d39242dda7 When a name attribute's value exceeds the maximum allowed length, display
a truncated version of it, followed by ellipsis.  Bug 220855. r=wtc
2004-01-22 23:45:30 +00:00
nelsonb%netscape.com c3e741505b Add -a option for Base64 encoded ASCII input and output.
The -i and -o options now understand "-" to mean stdin and stdout.
Usage is displayed when -? or no arguments are given.
Bug 231536. r=relyea.
2004-01-22 22:08:59 +00:00
nelsonb%netscape.com ab62ea0dcd Correct NSS's key usage tests for certs with non-RSA public keys.
Bug 221638. r=relyea.
2004-01-22 22:04:54 +00:00
nelsonb%netscape.com abe30316c3 Detect duplicate issuer name and serial number between two temp certs.
Bug 230996. r=ian, relyea.
2004-01-22 02:36:53 +00:00
nelsonb%netscape.com 6b4f2582f5 Fix name constraints code to pass NIST PKITS test 38. r=wtc. Bug 231223. 2004-01-22 02:33:41 +00:00
nelsonb%netscape.com 6eb4db4380 Move an extern function declaration to the header file where it belongs.
Bug 229212. r=relyea.
2004-01-22 02:19:42 +00:00
nelsonb%netscape.com 1cf2dd38f1 Fix some erronous code that set SEC_ERROR_NO_MEMORY when there had been
no memory failure.  r=relyea.  Bug 231566
2004-01-22 02:17:26 +00:00
nelsonb%netscape.com 6a8f1df53b Fix bug in cert path length validation. Bug 221644. r=jpierre 2004-01-21 05:32:18 +00:00
jpierre%netscape.com 3e7249335c Support GeneralizedTime in NSS tools. bug 210530. r=wtc 2004-01-21 01:15:01 +00:00
nelsonb%netscape.com 14c61e40e0 Use the results from PK11_ProtectedAuthenticationPath(slot) in the
password callback function.  Bug 229023. r=relyea.  verified by submittor.
2004-01-21 00:18:59 +00:00
wchang0222%aol.com 600d5d5236 Bugzilla bug 229299: fixed unused variable warning. r=nelsonb. 2004-01-20 22:57:40 +00:00
jgmyers%speakeasy.net ae8711f043 fix review comment: bug 53133 2004-01-20 19:57:17 +00:00
nelsonb%netscape.com c7a655b980 Make this code build on Windows as well as Unix. 2004-01-19 01:05:53 +00:00
nelsonb%netscape.com ea240a20f0 Fix two more incorrect cert names that caused erroneous test results.
Bug 231221.
2004-01-17 05:55:20 +00:00
nelsonb%netscape.com ded78bdcc6 Correct this script to more accurately report errors. Bug 231221. 2004-01-17 05:04:42 +00:00
nelsonb%netscape.com dde3b2789c 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.
2004-01-16 21:33:16 +00:00