Commit Graph

217670 Commits

Author SHA1 Message Date
wtc%google.com
472dc0c360 Bug 807883: Add 'const' to the 'pool' parameter and 'arena' local variable
of PL_SizeOfArenaPoolExcludingPool. Fix comments. r=n.nethercote.
Modified Files:
	plarena.c plarenas.h


git-svn-id: svn://10.0.0.236/trunk@264716 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-11 15:36:33 +00:00
wtc%google.com
85bfa8f006 Bug 822365: change the include guard macro to match the file name.
git-svn-id: svn://10.0.0.236/trunk@264715 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-11 03:41:00 +00:00
wtc%google.com
22ec3b830c Bug 827271: Add support for Aarch64 (64-Bit ARM). The patch is contributed
by Riku Voipio. r=wtc.
Modified Files:
	_linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@264713 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 19:40:49 +00:00
wtc%google.com
3716a2aed1 Bug 782214: Auto detect android api version for x86. The patch is
contributed by Makoto Kato <m_kato@ga2.so-net.ne.jp>. r=ted,wtc.


git-svn-id: svn://10.0.0.236/trunk@264712 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 19:24:54 +00:00
wtc%google.com
d309ce229d Bug 812085: Initialize Windows CRITICAL_SECTIONs without debug info and
with nonzero spin count (1500). The patch is contributed by  Chris Peterson
<cpeterson@mozilla.com>. r=wtc.
Modified Files:
	pr/include/md/_win95.h pr/src/md/windows/w95cv.c


git-svn-id: svn://10.0.0.236/trunk@264711 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 19:14:25 +00:00
wtc%google.com
09b9d71f92 Bug 807883: Add the PL_SizeOfArenaPoolExcludingPool function to measure all
memory used by a PLArenaPool, excluding the PLArenaPool structure. The
patch is contributed by Nicholas Nethercote <nnethercote@mozilla.com>.
r=wtc.
Modified Files:
	plarena.c plarenas.h plds.def


git-svn-id: svn://10.0.0.236/trunk@264710 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 18:34:43 +00:00
wtc%google.com
6d9ebe3b3d Set NSPR version to 4.9.6 Beta.
Modified Files:
	configure configure.in pr/include/prinit.h pr/tests/vercheck.c


git-svn-id: svn://10.0.0.236/trunk@264709 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-10 17:56:12 +00:00
kaie%kuix.de
2db34da325 Bug 839109 - Fix TLS version in NSS tests, patch by Wan-Teh Chang, r=kaie
git-svn-id: svn://10.0.0.236/trunk@264707 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-07 16:47:44 +00:00
seabld
a5688cf7c3 Automated configuration bump: mozBeta-seamonkey-branch-patcher2.cfg, from 2.16b3 to 2.16b4 build 1
git-svn-id: svn://10.0.0.236/trunk@264706 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-07 14:27:52 +00:00
mkanat%bugzilla.org
ed5f17bd27 Bug 784352: Show a warning when interdiff reports errors
r=dkl, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264705 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-07 07:15:42 +00:00
wtc%google.com
8a751853e5 Bug 822365: Rename the hashAlg field of CK_NSS_MAC_CONSTANT_TIME_PARAMS to
macAlg because it is a PKCS #11 MAC mechanism. r=rrelyea.
Modified Files:
	lib/softoken/sftkhmac.c lib/ssl/ssl3con.c lib/util/pkcs11n.h


git-svn-id: svn://10.0.0.236/trunk@264704 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-07 01:29:19 +00:00
wtc%google.com
513b1dbdff Bug 822365: Remove a redundant null pointer check in the
CKM_NSS_HMAC_CONSTANT_TIME case in NSC_SignInit. r=rrelyea.


git-svn-id: svn://10.0.0.236/trunk@264703 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-07 01:13:13 +00:00
wtc%google.com
746d3ccf9a Bug 822365: Fix a typo ("my" -> "may"). r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@264702 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-07 01:11:00 +00:00
wtc%google.com
ab90f378a9 Bug 822365: PKCS #11 naming convention and NSS coding style fixes for the
constant-time CBC decoding code. r=rrelyea.
Modified Files:
	lib/freebl/hmacct.c lib/freebl/loader.c lib/freebl/md5.c
	lib/softoken/pkcs11.c lib/softoken/pkcs11c.c
	lib/softoken/sftkhmac.c lib/ssl/ssl3con.c lib/util/pkcs11n.h


git-svn-id: svn://10.0.0.236/trunk@264701 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 22:20:23 +00:00
kaie%kuix.de
3d844d348b Bug 822365, Fix ppc64 endianness bug, patch by wtc, r=kaie
git-svn-id: svn://10.0.0.236/trunk@264700 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 21:50:06 +00:00
kaie%kuix.de
ccbdbba908 Bug 822365, Fix compilation error on OSX PowerPC 32bit, TBR=wtc
git-svn-id: svn://10.0.0.236/trunk@264699 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 11:38:05 +00:00
wtc%google.com
cbba4dc22e Bug 822365: do not shift an unsigned int for more than 32 bits. TBR=agl
git-svn-id: svn://10.0.0.236/trunk@264698 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 04:00:05 +00:00
wtc%google.com
3b12df05a6 Bug 822365: the version for PK11_SignWithSymKey should be NSS_3.14.3.
git-svn-id: svn://10.0.0.236/trunk@264697 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 02:05:10 +00:00
wtc%google.com
8d05987658 Bug 822365: Fix the constant-time versions of HMAC-MD5 and SSLv3 MD5 MAC.
Remove the workaround from ssl3_ComputeRecordMACConstantTime. The patch is
contributed by Adam Langley <agl@chromium.org>. r=rrelyea,wtc.
Modified Files:
	lib/freebl/hmacct.c lib/softoken/sftkhmac.c lib/ssl/ssl3con.c


git-svn-id: svn://10.0.0.236/trunk@264696 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 02:02:38 +00:00
wtc%google.com
7eff1e6fbf Bug 822365: SHA512_EndRaw and SHA256_EndRaw need a local variable named t1
for the BYTESWAP4 and BYTESWAP8 macros in certain build configurations.
TBR=kaie.


git-svn-id: svn://10.0.0.236/trunk@264695 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 00:41:13 +00:00
wtc%google.com
7aa47e4fd0 Bug 822365: the SHA_HTONL macro (used by the SHA_STORE_RESULT macro) needs
a local variable named 'tmp' in some build configurations. Undefine 'tmp'
as 'lenB' at the end of SHA1_End. r=kaie.


git-svn-id: svn://10.0.0.236/trunk@264694 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-05 23:46:39 +00:00
wtc%google.com
3e09cf75c5 Bug 822365: declare variables at the beginning of a block to fix MSVC
compilation errors. r=kaie.


git-svn-id: svn://10.0.0.236/trunk@264693 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-05 23:44:03 +00:00
wtc%google.com
f7ff05a366 Bug 822365: Make CBC decoding constant time. This patch makes the decoding
of SSLv3 and TLS CBC records constant time. Without this, a timing side
channel can be used to build a padding oracle and mount Vaudenay's attack.
The patch is contributed by Adam Langley <agl@chromium.org>.
r=rrelyea,ryan.sleevi.
Modified Files:
	lib/freebl/blapi.h lib/freebl/ldvector.c lib/freebl/loader.c
	lib/freebl/loader.h lib/freebl/manifest.mn lib/freebl/md5.c
	lib/freebl/rawhash.c lib/freebl/sha512.c lib/freebl/sha_fast.c
	lib/freebl/sha_fast.h lib/nss/nss.def lib/pk11wrap/pk11obj.c
	lib/pk11wrap/pk11pub.h lib/softoken/manifest.mn
	lib/softoken/pkcs11.c lib/softoken/pkcs11c.c
	lib/softoken/pkcs11i.h lib/ssl/ssl3con.c lib/util/hasht.h
	lib/util/pkcs11n.h
Added Files:
	lib/freebl/hmacct.c lib/freebl/hmacct.h
	lib/softoken/sftkhmac.c


git-svn-id: svn://10.0.0.236/trunk@264692 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-05 18:10:46 +00:00
ryan.sleevi%gmail.com
15e5148cca Bug 158747: Add support for RSA-OAEP to softoken, but do not enable it yet,
pending unit tests. r=wtc


git-svn-id: svn://10.0.0.236/trunk@264691 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-05 02:19:52 +00:00
kaie%kuix.de
a9707a9b4e Bug 837799 - Allow building of NSS against older sqlite, r=wtc
git-svn-id: svn://10.0.0.236/trunk@264690 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-04 19:58:20 +00:00
seabld
783e277ae6 Automated configuration bump: mozRelease-seamonkey-branch-patcher2.cfg, from 2.15.1 to 2.15.2 build 1
git-svn-id: svn://10.0.0.236/trunk@264689 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-04 02:30:39 +00:00
mkanat%bugzilla.org
e74a31c25b Bug 834770: testserver.pl should support uppercase URLs
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264688 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-03 23:01:29 +00:00
mkanat%bugzilla.org
d5c60654f0 Bug 821410: Add support for bitbucket.org for the 'See Also' field
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264687 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-03 23:00:50 +00:00
wtc%google.com
e4f6637724 Bug 836562: Use Horner's rule to calculate the elliptic curve polynomial in
ec_GFp_validate_point. r=agl.


git-svn-id: svn://10.0.0.236/trunk@264686 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-01 03:42:09 +00:00
kaie%kuix.de
60c48788b9 Setting version to 3.14.3 Beta
git-svn-id: svn://10.0.0.236/trunk@264685 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 22:59:44 +00:00
kaie%kuix.de
80e6de1147 Set version to NSS 3.14.2 RTM
git-svn-id: svn://10.0.0.236/trunk@264683 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 22:47:09 +00:00
rrelyea%redhat.com
1d55f394aa Update/Add license headers.
git-svn-id: svn://10.0.0.236/trunk@264682 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 19:30:42 +00:00
seabld
476967c204 Automated configuration bump: mozBeta-seamonkey-branch-patcher2.cfg, from 2.16b2 to 2.16b3 build 1
git-svn-id: svn://10.0.0.236/trunk@264681 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 14:38:24 +00:00
wtc%google.com
51ffd7cde5 Bug 835293: on Linux x86_64, don't use the assembler flag -march=opteron
because some of the instructions in intel-gcm.s (such as vmovdqu, vpshufb,
vpclmulqdq, vpxor) are not supported on opteron. r=kaie.


git-svn-id: svn://10.0.0.236/trunk@264680 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 01:08:59 +00:00
wtc%google.com
0f2c37a4cd Set NSPR version to 4.9.5.
git-svn-id: svn://10.0.0.236/trunk@264678 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 01:03:30 +00:00
kaie%kuix.de
23a1ce1bd1 Bug 835486, Provide documentation for NSS tools (both as HTML and Unix-style man-pages format). Documentation has been authored by Deon Lackey and Elio Maldonado.
r=kaie for the code related to this checkin and for adding this work-in-progress documentation in general
r=emaldona for approving to get this added to NSS


git-svn-id: svn://10.0.0.236/trunk@264677 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-30 21:45:51 +00:00
wtc%google.com
b708cc55e6 Bug 805604: use target-specific variable values to add an extra compiler or
assembler flag to just one source file. r=kaie.


git-svn-id: svn://10.0.0.236/trunk@264676 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-30 19:52:20 +00:00
mkanat%bugzilla.org
2cdab8aebd Bug 102048: Display the "Blocks" and "Depends On" columns in buglists
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264675 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-30 18:15:41 +00:00
mkanat%bugzilla.org
38a21b81ac Bug 833752 - Bug id custom fields should be clickable in bug list
r=dkl, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264674 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-30 18:00:42 +00:00
mkanat%bugzilla.org
80ffc10e0e Bug 835780: Order quips chronologically when listing them
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264673 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-30 16:32:18 +00:00
mkanat%bugzilla.org
43cebbe47f Bug 824636: Only show "Show dependency tree / graph" when there are bugs in the dependency chain
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264672 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-30 16:31:39 +00:00
mkanat%bugzilla.org
8345c28d53 Bug 272407: Send an e-mail when the administrator creates a new account for a user
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264671 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-30 16:30:55 +00:00
wtc%google.com
97eed88b5e Bug 831793: PR_UnloadLibrary should consistently hold pr_linker_lock when
accessing lib->refCount. The patch is contributed by Julian Seward
<jseward@acm.org>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@264670 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-29 22:06:49 +00:00
seabld
ce35538dd4 Automated configuration bump: mozBeta-seamonkey-branch-patcher2.cfg, from 2.16b1 to 2.16b2 build 1
git-svn-id: svn://10.0.0.236/trunk@264669 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-27 02:17:35 +00:00
wtc%google.com
5a717b19ac Bug 805604 and bug 835050: don't use Clang's integrated assembler because
it cannot handle how intel-gcm.s uses the .set directive to refer to
registers by symbolic names. r=kaie.


git-svn-id: svn://10.0.0.236/trunk@264667 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-27 00:34:35 +00:00
rrelyea%redhat.com
e36074b00e Bug 373108 Test cases for CTS and GCM
git-svn-id: svn://10.0.0.236/trunk@264666 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-25 18:10:55 +00:00
rrelyea%redhat.com
e6f7d59d5b Bug 373108 Fix a double free on the error patch.
r=rsleevi


git-svn-id: svn://10.0.0.236/trunk@264665 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-25 18:02:53 +00:00
kaie%kuix.de
2e01b46a61 Bug 833857, fix ocspclnt crash regression, r=wtc
git-svn-id: svn://10.0.0.236/trunk@264663 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-23 23:05:51 +00:00
wtc%google.com
b06eb42f7f Bug 833857: Revert the change to ocspResponse_other in rev. 1.9 because
some code in ocspclnt.c (the responseStatusNames array and an assertion)
depends on the value of ocspResponse_other. r=kaie.


git-svn-id: svn://10.0.0.236/trunk@264662 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-23 22:08:32 +00:00
wtc%google.com
aa0584c912 Bug 833052: Add three more SHA256 cipher suites to ssltap. r=emaldona.
git-svn-id: svn://10.0.0.236/trunk@264661 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-23 20:53:58 +00:00