5485 Commits

Author SHA1 Message Date
darin%meer.net
62a0348c2c fixes bug 271194 "When going from a secure to a non-secure page without clicking a button in the security dialog, the non-secure page appears as secure" patch by kai, r=dveditz, sr=darin
git-svn-id: svn://10.0.0.236/trunk@182725 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 18:33:26 +00:00
wtchang%redhat.com
18baa85b5f Bugzilla bug 298522: added power-up self tests for HMAC SHA-1 and HMAC
SHA-256.  The patch is contributed by Glen Beasley of Sun. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@182642 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 21:46:51 +00:00
wtchang%redhat.com
2fecfe5e53 Bugzilla bug 312774: support building and running the test with IBM JDK.
Removed the class name and provider name of the SUN provider.  Instead,
we compare our message digest result with the result of all providers that
support the message digest algorithm.  The patch is contributed by Rich
Megginson of Red Hat and improved by Glen Beasley of Sun. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@182517 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 01:17:44 +00:00
wtchang%redhat.com
45f823b623 Build fipstest.
git-svn-id: svn://10.0.0.236/trunk@182516 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 01:14:20 +00:00
julien.pierre.bugs%sun.com
5f414362eb Add dependency on freebl so ssl will rebuild if freebl has changed.
git-svn-id: svn://10.0.0.236/trunk@182514 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 01:04:16 +00:00
julien.pierre.bugs%sun.com
2eb6f5230e Add dependency on freebl so softoken will rebuild if freebl has changed.
git-svn-id: svn://10.0.0.236/trunk@182513 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 01:03:31 +00:00
wtchang%redhat.com
f8a0c96732 Added a shell script for running the NIST AES Algorithm Validation Suite.
git-svn-id: svn://10.0.0.236/trunk@182511 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 00:55:20 +00:00
wtchang%redhat.com
b6b7ec26c8 Bugzilla bug 312774: support building with IBM JDK on Linux. Added -L
linker flags for IBM JDK's pathnames.  The patch is contributed by Rich
Megginson of Red Hat. r=wtc,glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@182498 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 22:36:19 +00:00
darin%meer.net
ca087614d5 fixes bug 304286 "Certificate failures during automatic check for updates should not give user choice to connect anyway" r=biesi sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@182294 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 02:46:06 +00:00
wtchang%redhat.com
461760e1fb Bugzilla Bug 312395: Added FIPS AES Known Answer Test, Multi-block Message
Test, and Monte Carlo Test in ECB and CBC modes.  Also changed the types
of some variables from int to unsigned int to fix compiler warnings about
signed/unsigned comparisons.


git-svn-id: svn://10.0.0.236/trunk@182269 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 20:04:39 +00:00
wtchang%redhat.com
e202386881 Bugzilla bug 311440: ssl3_ConsumeHandshakeVariable now longer returns a
SECItem pointing to memory allocated with PORT_Alloc, so we don't need to
use PORT_Free to free the SECItem's buffer.  r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@182253 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 16:48:58 +00:00
wtchang%redhat.com
8b8849194e Bugzilla Bug 312202: checked in HP-UX IPF (Itanium) porting changes
contributed by Grace Lu of HP.  Use the .so suffix for shared libraries
on HP-UX IPF.  Support building on HP-UX B.11.23. r=wtc.
Modified Files:
	coreconf/HP-UX.mk nss/lib/nss/nssinit.c
Added Files:
	coreconf/HP-UXB.11.23.mk


git-svn-id: svn://10.0.0.236/trunk@182112 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 19:04:13 +00:00
wtchang%redhat.com
1b8ed22e56 Bugzilla Bug 302998: disallow x=0,1 and k=0. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@182037 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 00:48:25 +00:00
neil.williams%sun.com
d2a0153ebc CBug 290263, patch CERT_CreateCertificateRequest for doing extensions
r=bob
`VS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@182029 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 00:10:17 +00:00
wtchang%redhat.com
d65b05d417 Bugzilla Bug 311074: cvs removed the unused nfspwd.pl script (which only
worked on the old Netscape intranet). r=relyea.
Modified Files: OS2.mk command.mk rules.mk
Removed Files: nsinstall/nfspwd nsinstall/nfspwd.pl


git-svn-id: svn://10.0.0.236/trunk@181946 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 23:46:13 +00:00
relyea%netscape.com
1ff4fb21bf Attempt to fix HPUX test failures.
Bug 311279 crmftest core dumps on HP-UX
(verbal) r=wtc


git-svn-id: svn://10.0.0.236/trunk@181804 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 00:57:31 +00:00
wtchang%redhat.com
0d9a3786a3 Bugzilla Bug 304360: generate ECC key with private key value less than the
group order using a combination of ANSI X9.62 A.4.1 and FIPS 186-2 Change
Notice 1.  Also changed structure of EC key generation functions to match
the scheme used in dsa.c.  The patch is contributed by Douglas Stebila
<douglas@stebila.ca> of Sun Labs. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@181739 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-06 23:16:20 +00:00
wtchang%redhat.com
539f2f8c9e Bugzilla Bug 257693: set the correct error code in EC_ValidatePublicKey.
Documented the return values of ECPoint_validate.  Have the tests compare
the return value of ECPoint_validate with MP_NO for negative test cases.
r=doublas.stebila.
Modified Files:
	ec.c ecl/ecl.h ecl/tests/ec2_test.c ecl/tests/ecp_test.c


git-svn-id: svn://10.0.0.236/trunk@181732 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-06 21:42:55 +00:00
wtchang%redhat.com
1a675ae297 Bugzilla Bug 311074: removed the unused nfspwd Perl script from TARGETS,
which caused "gmake clean" to break on a read-only source tree.  The patch
is contributed by Benjamin Smedberg <benjamin@smedbergs.us>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@181688 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 22:25:37 +00:00
wtchang%redhat.com
ce6b4266ed Bugzilla bug 259135: fixed build breakage. In C, declarations must precede
code.


git-svn-id: svn://10.0.0.236/trunk@181682 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 22:03:14 +00:00
wtchang%redhat.com
b1571eb7c7 Bugzilla bug 259135: minor comment fix.
git-svn-id: svn://10.0.0.236/trunk@181666 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 17:58:01 +00:00
glen.beasley%sun.com
52e028d6e9 171027 removed deprecated code from tests ran by all.pl sr=sandeep
git-svn-id: svn://10.0.0.236/trunk@181664 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 17:09:03 +00:00
glen.beasley%sun.com
e0f67867f3 259135 added SHA 256,384,512 and AES powerupself tests sr=Wan-Teh
git-svn-id: svn://10.0.0.236/trunk@181660 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-05 16:31:01 +00:00
relyea%netscape.com
7e308db908 Back out non-reviewed strictly white space change in pk11sdr.c
git-svn-id: svn://10.0.0.236/trunk@181525 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 01:11:01 +00:00
wtchang%redhat.com
e43cc4f05f Made the test compile and link without errors.
git-svn-id: svn://10.0.0.236/trunk@181521 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 00:46:50 +00:00
wtchang%redhat.com
77096c68c1 Fixed test file line endings. This file must be considered part of the
NSS module because it needs the private NSS header blapi.h.


git-svn-id: svn://10.0.0.236/trunk@181516 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 00:35:51 +00:00
wtchang%redhat.com
54f38b4952 Fixed test file line endings.
git-svn-id: svn://10.0.0.236/trunk@181513 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 00:28:55 +00:00
wtchang%redhat.com
fb7e55d706 Bugzilla bug 310518: map CKR_PIN_INVALID and CKR_PIN_LEN_RANGE to
SEC_ERROR_INVALID_PASSWORD instead of SEC_ERROR_BAD_PASSWORD. r=relyea.


git-svn-id: svn://10.0.0.236/trunk@181506 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 22:41:45 +00:00
relyea%netscape.com
fb6b394583 remove depricated mechanisms so pk11table continues to build.
git-svn-id: svn://10.0.0.236/trunk@181503 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 22:19:43 +00:00
relyea%netscape.com
17b762360c Bug 272484 Certificate manager crashes [@ _PR_MD_ATOMIC_DECREMENT - PK11_FreeSymKey]
r=wtc [part 3 of 3]


git-svn-id: svn://10.0.0.236/trunk@181501 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 22:01:57 +00:00
relyea%netscape.com
3691ef4a53 Bug 272484 Certificate manager crashes [@ _PR_MD_ATOMIC_DECREMENT - PK11_FreeSymKey]
r=wtc [part 2 of 3]


git-svn-id: svn://10.0.0.236/trunk@181500 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 22:00:22 +00:00
relyea%netscape.com
25d2358d4f This change was not part of bug 272484 and has not been reviewed.
Back it out.


git-svn-id: svn://10.0.0.236/trunk@181499 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 21:58:24 +00:00
relyea%netscape.com
8a6ed661d3 Bug 272484 Certificate manager crashes [@ _PR_MD_ATOMIC_DECREMENT - PK11_FreeSymKey]
The problem only happens if we try to import a key into a token which then fails
to import. The basic issue was a hack in the pkcs 7 code to support PKCS 12, A
special structure was used to replace the SymKey structure, and the code 'knew'
the special structure existed before it dealt with the symkey. The fix addes a
new capability to symkeys, where applications can attach application specific
data to the key structure. PKCS 12 uses this to attache the PBE information
for CMS. (part 1 of 3)

This patch also improves the key's reuse of sessions, so sessions are not thrashed
when SSL is used with them.

r=wtc


git-svn-id: svn://10.0.0.236/trunk@181498 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 21:55:29 +00:00
bugzilla%arlen.demon.co.uk
08613f3b65 Bug 309542 Fix a11y problems and crop="right" is deprecated in page info dialog
p=me r=db48x sr=neil.parkwaycc.co.uk


git-svn-id: svn://10.0.0.236/trunk@181416 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-02 00:09:37 +00:00
wtchang%redhat.com
43631a4582 Bugzilla Bug 294106: removed an assertion that's no longer necessary.
Added buffer length error checking to back up an assertion. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@181338 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 22:01:46 +00:00
relyea%netscape.com
cd837cf621 Bugzilla Bug 244922 ASN.1 encoder outputs trash for optional may-stream subtemplate
r=nelson (original patch by nelson, modifications by me).


git-svn-id: svn://10.0.0.236/trunk@181305 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 19:22:48 +00:00
christophe.ravel.bugs%sun.com
361779cc16 238319: Sun packages changes.
Add an extra line to the copyright file to have the same as NSS and NSPR.


git-svn-id: svn://10.0.0.236/trunk@181257 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 01:56:59 +00:00
relyea%netscape.com
07ac7699bf Bug 119500 PKCS#11 CKF_PROTECTED_AUTHENTICATION_PATH token flag not supported
wtc's review r=wtc


git-svn-id: svn://10.0.0.236/trunk@181238 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 23:44:39 +00:00
wtchang%redhat.com
6556a8901c Bugzilla Bug 294106: dsa.c: use const in the function prototype of
DSA_GenerateGlobalRandomBytes.  prng_fips1861.c: implemented Algorithm 1
of FIPS 186-2 Change Notice 1 and increased the size (b) of the RNG's
seed-key from 160 bits to 256 bits. r=relyea,nelsonb.


git-svn-id: svn://10.0.0.236/trunk@181234 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 23:22:53 +00:00
relyea%netscape.com
375cfd3b86 Tests won't pass if we don't build crmftest
git-svn-id: svn://10.0.0.236/trunk@181230 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 22:01:52 +00:00
relyea%netscape.com
5ab6a977ba Bug 308887 CRMF request generation problem when using latest firefox
Add crmf tests to the test suite.


git-svn-id: svn://10.0.0.236/trunk@181226 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 21:36:42 +00:00
relyea%netscape.com
a6688d6d0f Bugzilla Bug 119500 PKCS#11 CKF_PROTECTED_AUTHENTICATION_PATH token flag not supported
r=nelson

This is only the NSS portion of this patch. The PSM portion will be checked in once the
NSS portion is mainlined to mozilla.


git-svn-id: svn://10.0.0.236/trunk@181223 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 21:00:58 +00:00
sandeep.konchady%sun.com
90e233f471 Bugzilla Bug 164692 SSL ops that timeout should throw
java.net.SocketTimeoutException. sr=Glen.Beasley


git-svn-id: svn://10.0.0.236/trunk@181211 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 18:48:34 +00:00
relyea%netscape.com
e8f77bb800 Bugzilla Bug 298630 freebl needs a memory cache invariant RSA implementation.
r=nelson


git-svn-id: svn://10.0.0.236/trunk@181202 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 17:17:09 +00:00
relyea%netscape.com
6fc700ed51 Add better tests for detached signatures. Actually test the other sha
variants rather than just say we do. done in the context of bug 30887
r=nelson


git-svn-id: svn://10.0.0.236/trunk@181201 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 17:14:19 +00:00
smontagu%smontagu.org
a246ad28ff Make the dates shown in the Expired Certificate alert have consistent (short) format. Bug 246905, patch by Constantine A. Murenin <cnst+bmo@bugmail.mojo.ru>, r=jgmyers, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@181196 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 08:41:22 +00:00
relyea%netscape.com
bf07cf115d Bug 271317, remove the old fortezza code
git-svn-id: svn://10.0.0.236/trunk@181188 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 00:36:53 +00:00
relyea%netscape.com
d6b5e01d40 Internal NSS defines shared between softoken and the rest of NSS, but not
exported.

added as part of bug 305697.


git-svn-id: svn://10.0.0.236/trunk@181187 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 23:52:59 +00:00
wtchang%redhat.com
194e48269d Bugzilla Bug 310336: support building on Windows Server 2003.
r=Sandeep.Konchady.


git-svn-id: svn://10.0.0.236/trunk@181185 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 23:14:44 +00:00
relyea%netscape.com
16f07cfd9d Bug 305697 Softoken needs to give on the fly access to additional databases. Part 2, User interface
r=julien


git-svn-id: svn://10.0.0.236/trunk@181157 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 17:17:49 +00:00