8036 Commits

Author SHA1 Message Date
wtc%google.com
3dbbfe326f Bug 537829: List -ansi before $(DSO_CFLAGS) to make it possible to override
-ansi with DSO_CFLAGS.  The patch is contributed by Michael Wu
<mwu@mozilla.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@259410 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-15 22:19:00 +00:00
wtc%google.com
956230d9e4 Bug 515279: Map only SEC_ERROR_REVOKED_CERTIFICATE to
PKIX_RevStatus_Revoked.  r=alexei.


git-svn-id: svn://10.0.0.236/trunk@259408 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-15 21:42:21 +00:00
alexei.volkov.bugs%sun.com
9cbdff6813 additional fix for bug 360421 - Implement TLS Server Name Indication for servers.
git-svn-id: svn://10.0.0.236/trunk@259404 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-15 01:49:34 +00:00
alexei.volkov.bugs%sun.com
d26b36b737 360421 - Implement TLS Server Name Indication for servers. r=nelson
git-svn-id: svn://10.0.0.236/trunk@259396 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-14 22:15:26 +00:00
slavomir.katuscak%sun.com
3fba9711c2 Bug 463208/494603 - adding new pattern for ignored leaks.
git-svn-id: svn://10.0.0.236/trunk@259368 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-11 10:05:55 +00:00
wtc%google.com
fdfd6ed03b Bug 494603: THREADSAFE has been renamed SQLITE_THREADSAFE. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@259366 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-09 05:04:37 +00:00
rrelyea%redhat.com
7246954465 Bug 537795 - NSS_InitContext does not work with NSS_RegisterShutdown
r=wtc


git-svn-id: svn://10.0.0.236/trunk@259365 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-09 01:01:32 +00:00
wtc%google.com
46bee41b42 Bug 494603: Fix Solaris compilation error because its gettimeofday,
when compiled with -D_SVID_GETTOD, takes only one argument.  Rev. 1.4 of
this file has this change, but I don't know if this is our local change
or it comes from sqlite upstream.


git-svn-id: svn://10.0.0.236/trunk@259364 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-08 05:42:38 +00:00
wtc%google.com
b25f0b45e0 Bug 534945: lib/dev does not need to include headers from lib/ckfw.
r=rrelyea.
Modified Files:
	ckhelper.c ckhelper.h dev.h devm.h devslot.c devt.h devtoken.c


git-svn-id: svn://10.0.0.236/trunk@259359 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-08 02:00:58 +00:00
wtc%google.com
5556beb4b8 Bug 494603: Update NSS's copy of sqlite3 to 3.6.22. Build libsqlite3.dylib
on Mac OS X with the same compatibility and current version numbers as
those of the system libsqlite3.dylib.  Remove sqlite3_apis (a global
variable that was removed) and add sqlite3_open_v2 (a new function
referenced by Mac's Security Framework) to sqlite.def.  r=rrelyea.
Modified Files:
	coreconf/Darwin.mk nss/lib/sqlite/config.mk
	nss/lib/sqlite/sqlite.def nss/lib/sqlite/sqlite3.c
	nss/lib/sqlite/sqlite3.h


git-svn-id: svn://10.0.0.236/trunk@259358 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-08 01:40:41 +00:00
wtc%google.com
ffbf0dc4c6 Bug 494603: Add the sqlite directory to DIRS in a different way. r=rrelyea.
Modified Files:
	Makefile manifest.mn


git-svn-id: svn://10.0.0.236/trunk@259356 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-08 01:27:59 +00:00
wtc%google.com
417b631ec8 Bug 515279: Allow an old OCSP response with the "revoked" cert status.
r=alexei.
Modified Files:
	lib/certhigh/ocsp.c
	lib/libpkix/pkix/checker/pkix_ocspchecker.c


git-svn-id: svn://10.0.0.236/trunk@259355 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-08 01:06:48 +00:00
wtc%google.com
e047bb8ff3 Bug 536023 - DER_UTCTimeToTime and DER_GeneralizedTimeToTime should
disallow junk after a valid UTCTime or GeneralizedTime string.  r=nelson.
Modified Files:
	cmd/tests/dertimetest.c lib/util/dertime.c


git-svn-id: svn://10.0.0.236/trunk@259308 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-29 02:57:28 +00:00
nelson%bolyard.com
c8b0a0e6a0 Bug 535934: Add comments about Arenas to secport.c, r=wtc
git-svn-id: svn://10.0.0.236/trunk@259299 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-24 03:37:46 +00:00
wtc%google.com
1e2a1abcbc Bug 536023: Add (unsigned char *) casts to fix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@259272 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-21 22:53:59 +00:00
wtc%google.com
c781637531 Bug 536023: Remove the HTML that was inadvertently added in the previous
checkin.


git-svn-id: svn://10.0.0.236/trunk@259266 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-21 22:05:23 +00:00
wtc%google.com
f820a0e61f Bug 536023: Disallow null bytes in the middle of a UTCTime or
GeneralizedTime string.  r=nelson.
Modified Files:
	cmd/tests/manifest.mn lib/util/dertime.c
Added Files:
	cmd/tests/dertimetest.c


git-svn-id: svn://10.0.0.236/trunk@259264 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-21 21:35:02 +00:00
wtc%google.com
d55668ae05 Bug 515279: In ocsp.c, pass the error code up to the caller of
ocsp_GetCachedOCSPResponseStatusIfFresh if the ocsp_CertHasGoodStatus call
fails.  In pkix_ocspchecker.c, map NSS error code to revocation status
(revoked or no info) for both cached and newly obtained OCSP responses.
r=nelson.
Modified Files:
	certhigh/ocsp.c libpkix/pkix/checker/pkix_ocspchecker.c


git-svn-id: svn://10.0.0.236/trunk@259250 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-18 16:47:12 +00:00
wtc%google.com
0caf483ea7 Bug 535669: Move common makefile code in if and else to the outside.
r=nelson.
Modified Files:
	cmd/platlibs.mk lib/ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@259249 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-18 02:37:12 +00:00
wtc%google.com
69f7d1d144 Bug 534943: Use EXTRA_SHARED_LIBS instead of EXTRA_LIBS to specify the NSPR
shared libraries.  Remove obsolete code for AIX 4.1 and 4.2.  Remove
commented-out code.  r=christophe.ravel.
Modified Files:
	Makefile manifest.mn


git-svn-id: svn://10.0.0.236/trunk@259243 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-17 22:00:48 +00:00
wtc%google.com
c62d1dc472 Bug 534916: Remove obsolete comments. r=emaldona.
Modified Files:
	util/config.mk nss/config.mk


git-svn-id: svn://10.0.0.236/trunk@259234 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-15 22:22:31 +00:00
wtc%google.com
fb599f5b87 Bug 534916: remove SECITEM_Hash and SECITEM_HashCompare copied from
lib/util/secitem.c.  r=emaldona.


git-svn-id: svn://10.0.0.236/trunk@259231 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-15 21:50:44 +00:00
wtc%google.com
3cb2be35b9 Bug 532417: back out the previous checkin because the quotes it adds to
the pathname breaks the absolute pathname test in
mozilla/nsprpub/pr/tests/Makefile.in, which simply tests if the pathname
starts with a slash (/).


git-svn-id: svn://10.0.0.236/trunk@259190 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-08 16:47:03 +00:00
wtc%google.com
a076764773 Bug 532417: Support building NSS in a directory with spaces in path names
by quoting path names.  r=ted.mielczarek.
Modified Files:
	coreconf/rules.mk nss/Makefile nss/cmd/shlibsign/sign.sh


git-svn-id: svn://10.0.0.236/trunk@259189 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-08 01:33:37 +00:00
kaie%kuix.de
ee9f5e4003 Bug 527759, Add multiple roots to NSS
Patch v6, version numbers, r=nelson


git-svn-id: svn://10.0.0.236/trunk@259163 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-03 21:10:30 +00:00
kaie%kuix.de
4b6aeca3dc Bug 527759, Add multiple roots to NSS
Patch v5, 9 new roots, r=nelson


git-svn-id: svn://10.0.0.236/trunk@259162 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-03 21:09:32 +00:00
wtc%google.com
0dd48d5002 Bug 531188: Don't call zlib with 0-length inputs (the avail_in is 0),
otherwise zlib returns Z_BUF_ERROR, which we consider fatal.  The patch is
contributed by Adam Langley of Google <agl@chromium.org>.  r=wtc,nelson.


git-svn-id: svn://10.0.0.236/trunk@259136 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-01 17:59:46 +00:00
nelson%bolyard.com
ef8be04775 Bug 524167: Don't crash if slot has null token pointer after entering
FIPS mode.  r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@259133 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-01 06:28:11 +00:00
wtc%google.com
61c9cc167c Bug 531188: ssl3_DeflateDecompress should set an error code on failure.
Remove an extraneous ssl_ReleaseSpecReadLock(ss) call.  r=agl,nelson.


git-svn-id: svn://10.0.0.236/trunk@259090 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-26 01:51:10 +00:00
wtc%google.com
d73ba345fb Bug 530907: The peerID argument to SSL_SetSockPeerID should be declared
const.  Removed an unnecessary PR_CALLBACK qualifier.  r=nelson.


git-svn-id: svn://10.0.0.236/trunk@259084 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-25 05:24:25 +00:00
wtc%google.com
116f3de927 Bug 528741: pkix_hash should allow 'bytes' to be NULL if 'length' is 0.
This allows it to hash an empty string.  r=alexei.volkov.


git-svn-id: svn://10.0.0.236/trunk@259064 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-23 22:01:13 +00:00
wtc%google.com
a75ee146fb Bug 275744: Fix a compilation error on Windows. Need to declare variables
at the beginning of a block.  TBR=nelson.


git-svn-id: svn://10.0.0.236/trunk@259051 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-21 05:31:16 +00:00
wtc%google.com
6159af71f0 Bug 275744: Back out the previous solution of undefining the compress macro
after including zlib.h.  Rename compress to compressor and decompress to
decompressor to avoid the compress macro that may be defined by zconf.h.
r=nelson.
Modified Files:
	ssl3con.c sslimpl.h


git-svn-id: svn://10.0.0.236/trunk@259050 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-21 03:40:49 +00:00
wtc%google.com
7b748542b5 Bug 275744: Make sure the compression of resumed sessions is correct. The
patch is contributed by Adam Langley of Google <agl@chromium.org>.
r=wtc,nelson.


git-svn-id: svn://10.0.0.236/trunk@259049 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-21 03:32:40 +00:00
christophe.ravel.bugs%sun.com
d78bfe9cd4 Start JSS 4.3.2 beta.
git-svn-id: svn://10.0.0.236/trunk@259048 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-20 20:17:57 +00:00
christophe.ravel.bugs%sun.com
14a1b60a65 Start NSS 3.12.6 Beta.
git-svn-id: svn://10.0.0.236/trunk@259047 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-20 20:15:05 +00:00
christophe.ravel.bugs%sun.com
27823970bf Prepare NSS 3.12.5 RTM.
git-svn-id: svn://10.0.0.236/trunk@259027 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-18 19:14:47 +00:00
christophe.ravel.bugs%sun.com
e83ab14472 Prepare JSS 4.3.1 RTM.
git-svn-id: svn://10.0.0.236/trunk@259025 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-18 19:13:45 +00:00
jdennis%redhat.com
b148275e0b allow building with older versions of python (e.g. 2.4)
and older versions of NSS


git-svn-id: svn://10.0.0.236/trunk@258989 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-14 00:08:32 +00:00
wtc%google.com
0615d94be7 Bug 275744: Mozilla's zconf.h defines 'compress' as a macro. When NSS is
built as part of Mozilla, the 'compress' member of the ssl3CipherSpec
structure gets renamed.  Undefine 'compress' to avoid that.  r=nelson.


git-svn-id: svn://10.0.0.236/trunk@258982 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-12 05:08:27 +00:00
alexei.volkov.bugs%sun.com
819d921423 back out patch for bug 517615: this patch requires a parallel fix to be made in softoken.
git-svn-id: svn://10.0.0.236/trunk@258979 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-11 23:24:33 +00:00
glen.beasley%sun.com
f0aba0e779 527240 Reorder the constants and reserve one value patch from wan-teh r=glen
git-svn-id: svn://10.0.0.236/trunk@258977 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-11 21:38:10 +00:00
slavomir.katuscak%sun.com
c2bfb46a1c Bug 473790: New OCSP tests. r=alexei
git-svn-id: svn://10.0.0.236/trunk@258974 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-11 18:13:00 +00:00
slavomir.katuscak%sun.com
4b6461539d Bug 473790: Adding more certs (+script to generate them). r=alexei.
git-svn-id: svn://10.0.0.236/trunk@258973 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-11 18:09:41 +00:00
slavomir.katuscak%sun.com
1de194e336 Bug 489307 - Fixed variable name. r=nelson
git-svn-id: svn://10.0.0.236/trunk@258966 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-11 10:45:34 +00:00
christophe.ravel.bugs%sun.com
f90caf4dfa Change JSS version to 4.3.1 Beta.
git-svn-id: svn://10.0.0.236/trunk@258948 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-09 23:41:29 +00:00
alexei.volkov.bugs%sun.com
2c8296e0d6 Bug 517615 - Crash in secoid code, trying to reinitialize after failed NSS shutdown. r=nelson,wtc,bob
git-svn-id: svn://10.0.0.236/trunk@258946 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-09 23:04:29 +00:00
wtc%google.com
efef0f47b7 Bug 275744: report a compressionMethodName of "N/A" rather than "NULL" for
SSL v2.  r=nelson.


git-svn-id: svn://10.0.0.236/trunk@258945 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-09 22:00:18 +00:00
slavomir.katuscak%sun.com
7840cfcac2 Bug 489307: Adding MPL license, forcing bash, updating years. r=nelson
git-svn-id: svn://10.0.0.236/trunk@258926 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-09 14:19:08 +00:00
glen.beasley%sun.com
2ccc712fbd 527240 Expose Support for SSL & TLS Renegotiation settings r=Nelson
git-svn-id: svn://10.0.0.236/trunk@258922 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-08 20:05:43 +00:00