5662 Commits

Author SHA1 Message Date
rrelyea%redhat.com
3b3dd5bfab Bug 319619 "large" ECC private keys cannot be exported through PKCS #11
1) Change the export encrypted private key function to ask the token the wrap
size rather than trying to figure it out ourselves.

2) Fix the soften to correctly return the size.


r=wtc, nelsonb


git-svn-id: svn://10.0.0.236/trunk@188668 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 16:43:47 +00:00
glen.beasley%sun.com
4c7d34eaf8 318970 RSA FIPS tests r=wan-teh sr=bobRelyea
git-svn-id: svn://10.0.0.236/trunk@188528 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 00:52:13 +00:00
glen.beasley%sun.com
35f65fcd5f 318970 RSA FIPS tests r=wan-teh sr=bobRelyea
git-svn-id: svn://10.0.0.236/trunk@188527 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 00:49:02 +00:00
kaie%kuix.de
b198cd2d36 bug 323903, further improvements on displaying certificate extensions.
Patch contributed by Kaspar Brand, supplementing the recent checkin for bug 259031.
r=Martin v. Loewis / kengert


git-svn-id: svn://10.0.0.236/trunk@188512 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:21:00 +00:00
glen.beasley%sun.com
76b32c43a5 318970 RSA FIPS Alg Tests r=wan-teh, sr=bRelyea
git-svn-id: svn://10.0.0.236/trunk@188483 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 20:01:05 +00:00
nelsonb%netscape.com
4e73e3abe9 Fix broken build, caused by c++ style comment in c code.
git-svn-id: svn://10.0.0.236/trunk@188383 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 02:38:07 +00:00
nelsonb%netscape.com
5f09451b56 Set SSL2 and SSL3 timeout times properly for SSL server session cache.
Bug 223242. r=jullien.pierre


git-svn-id: svn://10.0.0.236/trunk@188382 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 02:21:31 +00:00
kaie%kuix.de
38363778c0 bug 324109, Re-Add ocsp info string in cert manager, that was accidentially removed by a checkin for bug 212459
r=mscott sr=rrelyea


git-svn-id: svn://10.0.0.236/trunk@188366 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 21:12:37 +00:00
glen.beasley%sun.com
860e7e5f8e 328967 DSA FIPS tests r=Wan-Teh
git-svn-id: svn://10.0.0.236/trunk@188355 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 18:53:07 +00:00
wtchang%redhat.com
9731576fbf Removed a blank line that broke the ssl_stress function in ecssl.sh, which
cannot handle blank lines.


git-svn-id: svn://10.0.0.236/trunk@188354 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 18:44:13 +00:00
wtchang%redhat.com
0595eaf565 Bugzilla Bug 320589: temporary workaround for SEC_SignData ECDSA signature
generation bug introduced by the previous checkin.


git-svn-id: svn://10.0.0.236/trunk@188288 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 23:51:42 +00:00
wtchang%redhat.com
edf6204f51 Removed an extraneous semicolon after the last parameter in a function
declaration.


git-svn-id: svn://10.0.0.236/trunk@188283 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 23:21:39 +00:00
gavin%gavinsharp.com
44e1ab3582 Bug 323010: nsSecretDecoderRing::SetWindow should be NS_IMETHODIMP, not nsresult, patch by Jeff Walden <jwalden@mit.edu>, r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@188197 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 01:06:42 +00:00
sandeep.konchady%sun.com
08ed8be5f3 Bugzilla bug: 316629. Increased SSLServerSocket timeout from 15 sec to
90 sec. Smaller timeout was causing the server to die before client connected.
sr=glen.beasley r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@188072 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 00:42:48 +00:00
nelsonb%netscape.com
a934662573 Remove unnecessary ISALIST test from sparc versions of freebl DSOs.
Bug 302658. r=jullien.pierre,wtchang


git-svn-id: svn://10.0.0.236/trunk@188000 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 08:43:57 +00:00
nelsonb%netscape.com
c2795a63dc Make dbck Debug mode work with Softoken. Bug 323570. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@187998 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 06:54:34 +00:00
nelsonb%netscape.com
c3738b9726 Don't use variables as structure initializers. Bug 274512. Fix build
on HPUX.  r=julien.pierre,wtchang


git-svn-id: svn://10.0.0.236/trunk@187997 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 06:42:14 +00:00
nelsonb%netscape.com
3cc722f057 Detect certdb reference leaks at shutdown with assertions. Bug 324103.
r=rrelyea.


git-svn-id: svn://10.0.0.236/trunk@187996 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 06:36:36 +00:00
wtchang%redhat.com
c5e5443a41 Bugzilla Bug 323977: use the "mapfile" (ld version script) on FreeBSD.
Build the freebl shared libraries with the -Bsymbolic flag for GNU ld.
r=nelsonb.  Thanks to Glenn Randers-Pehrson <glennrp@imagemagick.org> for
reporting this bug and verifying these changes.
Modified files: coreconf/FreeBSD.mk nss/lib/freebl/Makefile


git-svn-id: svn://10.0.0.236/trunk@187948 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:33:33 +00:00
nelsonb%netscape.com
40aaf20256 Plug a cert DB reference leak in softoken, related to trust objects.
Bug 324103, r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@187945 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:23:42 +00:00
wtchang%redhat.com
e62ba399ff Bugzilla Bug 320589: miscellaneous code cleanup: distinguish between the
length of the field size and the length of the base point order.  Report
better error codes.  In ECDSA_VerifyDigest, removed unnecessary local
variables and be lenient in the signature lengths we accept.
r=relyea,nelsonb


git-svn-id: svn://10.0.0.236/trunk@187942 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:14:46 +00:00
julien.pierre.bugs%sun.com
f7dec9cf20 Fix for bug 317856 . uninitialized variable correction. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@187923 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 22:55:35 +00:00
cls%seawood.org
7292c5ebf0 Do not attempt to install .chk files when cross-compiling.
Bug #317620 r=wtc


git-svn-id: svn://10.0.0.236/trunk@187919 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 21:52:18 +00:00
nelsonb%netscape.com
d6b69e6906 Detect NULL server key pair pointer. Bug 321161. r=wtchang.
git-svn-id: svn://10.0.0.236/trunk@187904 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 17:40:21 +00:00
julien.pierre.bugs%sun.com
f6b94accfe Fix for bug 317856 . compiler warnings in strsclnt
git-svn-id: svn://10.0.0.236/trunk@187862 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 00:43:23 +00:00
rrelyea%redhat.com
3df22f1c88 Bugzilla Bug 95323. Conditionally compile nsscapi.
r=julien


git-svn-id: svn://10.0.0.236/trunk@187832 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 19:55:28 +00:00
nelsonb%netscape.com
2cc2f6a9f7 change QA test order to be bottom-up. Bug 309412. r=jullien.pierre
git-svn-id: svn://10.0.0.236/trunk@187823 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 11:59:56 +00:00
nelsonb%netscape.com
fce260a827 Back out last change, which broke the build.
git-svn-id: svn://10.0.0.236/trunk@187808 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 02:34:12 +00:00
nelsonb%netscape.com
264d4bfdd4 Prevent crash when making new cert8.db from old cert5.db.
This is not the final solution, but it works.
Bug 320029. r=rrelyea,sr=julien.pierre.  On TRUNK.


git-svn-id: svn://10.0.0.236/trunk@187807 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 02:16:30 +00:00
nelsonb%netscape.com
59a08bda78 Add new function nsslowcert_DecodeAnyDBEntry. Correct the union
certDBEntry by adding the missing members. Bug 323570. r=rrelyea.


git-svn-id: svn://10.0.0.236/trunk@187806 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 02:09:37 +00:00
nelsonb%netscape.com
f49b9775c6 Softoken will no longer generate excessive key material for some SSL3
cipher suites.  Bug 274512. r=rrelyea.


git-svn-id: svn://10.0.0.236/trunk@187801 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 01:12:53 +00:00
wtchang%redhat.com
9a9352d0f2 Bugzilla Bug 318217: use the new NSPR functions PR_EmulateAcceptRead and
PR_EmulateSendFile added in NSPR 4.1.  r=nelsonb.
Modified files: manifest.mn sslimpl.h sslsock.c
Removed file: emulate.c


git-svn-id: svn://10.0.0.236/trunk@187784 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 23:06:57 +00:00
julien.pierre.bugs%sun.com
59eb9be554 Fix for bug 319495 . Clean up Makefiles for command-line tools. r=nelson
git-svn-id: svn://10.0.0.236/trunk@187780 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 22:44:39 +00:00
wtchang%redhat.com
7ae4431b96 Bugzilla Bug 317620: use "pwd -W" to convert $(DIST) to an absolute
pathname (ABS_DIST) under MSYS on Windows.  We use the same method to
to define MOZ_BUILD_ROOT in configure.in.  The patch is contributed by
Chris Seawood <cls@seawood.org>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@187773 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 21:32:27 +00:00
wtchang%redhat.com
d1780f18bc Bugzilla Bug 323379: need to set ADDON_PATH for libsoftokn3.so to load
libfreebl3.so as an add-on on BeOS.  Thanks to Doug Shelton
<doug@sheltonfamily.org>for reporting the bug and verifying the fix.
r=christophe.ravel.


git-svn-id: svn://10.0.0.236/trunk@187768 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 20:56:28 +00:00
rrelyea%redhat.com
eb074fa45d NSS ECDSA can only sign SHA-1 bug 320583
r=nelson patch ammended to change SHA-1 to HASH per wtc comment.


git-svn-id: svn://10.0.0.236/trunk@187698 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-17 00:38:59 +00:00
wtchang%redhat.com
f8fa7fa2cf Bugzilla Bug 317620: landed NSS 3.11 on the Mozilla trunk. The patch is
contributed by Kai Engert <kengert@redhat.com>. r=wtc,bsmedberg.
Bugzilla Bug 288647: (security/manager/Makefile.in only) enable building
NSS with system NSPR.  The patch is contributed by Chris Seawood
<cls@seawood.org>.  r=wtc,kengert.
Modified Files:
	Makefile.in browser/installer/unix/config.it
	browser/installer/unix/packages-static
	browser/installer/windows/config.it
	browser/installer/windows/packages-static
	calendar/installer/windows/config.it
	calendar/installer/windows/packages-static
	camino/Camino.xcode/project.pbxproj
	embedding/config/basebrowser-installer-win.pkg
	embedding/config/basebrowser-mac-macho
	embedding/config/basebrowser-qnx
	embedding/config/basebrowser-unix
	embedding/config/basebrowser-win embedding/config/minimo-qnx
	embedding/config/minimo-unix mail/config/basemail-os2
	mail/config/basemail-unix mail/installer/windows/config.it
	mail/installer/windows/packages-static
	minimo/config/linux_package.sh security/manager/Makefile.in
	security/manager/psm.pkg toolkit/mozapps/installer/packager.mk
	xpinstall/packager/packages-os2
	xpinstall/packager/packages-static-unix
	xpinstall/packager/packages-static-win
	xpinstall/packager/packages-unix
	xpinstall/packager/unix/deliver.pl
	xpinstall/packager/win_mfcembed/config.it
	xpinstall/packager/windows/browser.jst
	xpinstall/packager/windows/config.it
	xulrunner/installer/mac/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@187565 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 18:09:32 +00:00
wtchang%redhat.com
3cb9d0e259 Bugzilla Bug 320497: indicate that we don't need an executable stack.
r=wolfgang.rosenauer,jpierre.
Modified files: arcfour-amd64-gas.s mpi/mpi_amd64_gas.s


git-svn-id: svn://10.0.0.236/trunk@187561 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 17:33:10 +00:00
wtchang%redhat.com
cd65cc6117 Bugzilla Bug 317858: gcc on Linux/ppc doesn't recognize the -z defs linker
flag, so we need to use -Wl to pass it to the linker. r=caillon.


git-svn-id: svn://10.0.0.236/trunk@187560 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 17:24:13 +00:00
alexei.volkov.bugs%sun.com
7e9de6b0be HP and AIX cert extension tests failure fix.
git-svn-id: svn://10.0.0.236/trunk@187536 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 07:59:31 +00:00
wtchang%redhat.com
df47d9cf72 Bugzilla Bug 323079: when libsoftoken and libssl load the freebl library,
first try without resolving symlinks.  If we fail to load the library and
the pathname is a symbolic link, resolve the symbolic link and try again.
r=jpierre. sr=relyea.


git-svn-id: svn://10.0.0.236/trunk@187524 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 23:46:31 +00:00
timeless%mozdev.org
4bddf6ff1d Bug 106386 Correct misspellings in source code
patch by philippuryear@gmail.com r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@187469 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 07:57:31 +00:00
alexei.volkov.bugs%sun.com
61d1e373b8 cert extension test for 53229: certutil should not use gets(). julien:review+
git-svn-id: svn://10.0.0.236/trunk@187449 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 01:09:03 +00:00
richm%stanfordalumni.org
052f3dfffa remove svrcore-config
git-svn-id: svn://10.0.0.236/trunk@187448 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 00:49:35 +00:00
kaie%kuix.de
9ea5459323 Use a new IID for changed interface nsIX509CertDB2, supplemental checkin for bug 316710
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@187447 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 00:26:19 +00:00
timeless%mozdev.org
dfffa15920 Bug 322429 nsICertPicker is misleading
r=kaie sr=bz


git-svn-id: svn://10.0.0.236/trunk@187323 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 08:29:49 +00:00
kaie%kuix.de
eb55fc2b2e bug 101996, temp file with guessable name used during p12 import.
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@187228 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 02:51:24 +00:00
kaie%kuix.de
13af67a8d4 bug 137506, Only internal token's keys can be exported
Patch by Bob Relyea, r=kengert


git-svn-id: svn://10.0.0.236/trunk@187226 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 02:29:25 +00:00
kaie%kuix.de
dcf905f887 bug 149834, Enhance PSM speed by using new NSS API CERT_VerifyCertificateNow
Patch by John G. Myers, r=kengert


git-svn-id: svn://10.0.0.236/trunk@187224 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 02:14:04 +00:00
kaie%kuix.de
93f65786df bug 316710, Land some generic crypto backend code, mostly cleanup, some small enhancements
Patch by Bob Relyea, r=kengert


git-svn-id: svn://10.0.0.236/trunk@187222 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 02:07:47 +00:00