33 Commits

Author SHA1 Message Date
emaldona%redhat.com
aec522fd6a Bug 745281 - Provide the option of disabling SSL PKCS #11 bypass at build time, r=wtc
git-svn-id: svn://10.0.0.236/trunk@263927 18797224-902f-48f8-a5cc-f745e15eee43
2012-06-11 02:38:30 +00:00
gerv%gerv.net
f465fa7d7e Bug 716563 - update license to MPL 2. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@263750 18797224-902f-48f8-a5cc-f745e15eee43
2012-04-25 14:50:19 +00:00
wtc%google.com
8243dfe878 Bug 275744: Use either system zlib or nss/lib/zlib. Unset NSS_ENABLE_ZLIB
when building (make NSS_ENABLE_ZLIB=) to turn off TLS deflate compression.
r=rrelyea.
Modified Files:
	Makefile config.mk


git-svn-id: svn://10.0.0.236/trunk@259602 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-04 19:09:08 +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
julien.pierre.boogz%sun.com
b0b9a5cab2 Fix for bug 494107 . Fix rpath in coreconf. r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@257464 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-11 00:55:53 +00:00
wtc%google.com
aab096c8c3 Bug 487858: Remove obsolete variables MOZILLA_SECURITY_BUILD,
MOZILLA_BSAFE_BUILD, and CRYPTODIR.  r=emaldona.
Modified Files:
	cmd/platlibs.mk lib/Makefile lib/softoken/config.mk
	lib/softoken/legacydb/config.mk lib/ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@256902 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-12 17:19:26 +00:00
emaldona%redhat.com
a0e0b2022f Bug 486698, r=wtc, Changed .mk files to enable building of major components independently and in a chain manner by downstream distributions
git-svn-id: svn://10.0.0.236/trunk@256894 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-11 21:18:48 +00:00
christophe.ravel.bugs%sun.com
15ebacce7e Bug 463678 - Need to add RPATH to 64-bit libraries on HP-UX
r=julien


git-svn-id: svn://10.0.0.236/trunk@255128 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-19 20:09:51 +00:00
wtc%google.com
b23ff9f322 Bug 452865: removed obsolete linker flags that were needed when libnss3
was linked with libsoftokn3.  r=glen.beasley.
Modified Files:
	cmd/platlibs.mk lib/nss/config.mk lib/smime/config.mk
	lib/ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@254077 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-05 23:30:52 +00:00
wtc%google.com
f7911d005d Bug 419242: moved a makefile rule from config.mk to Makefile so that 'all'
is the default (first) makefile target.  r=christophe.ravel


git-svn-id: svn://10.0.0.236/trunk@247451 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 23:17:25 +00:00
julien.pierre.boogz%sun.com
a8626f2c53 Fix for bug 286642 . Move utility functions to new libnssutil shared library. r=nelson
git-svn-id: svn://10.0.0.236/trunk@237631 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 01:44:51 +00:00
nelson%bolyard.com
7069ddec51 Bug 373276 – Enhance SSL's Bypass feature to withstand failures. r=neil,alexei
git-svn-id: svn://10.0.0.236/trunk@225321 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 03:54:58 +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
nelsonb%netscape.com
66cf75f421 Implement two new SSL socket options: SSL_BYPASS_PKCS11 and SSL_NO_LOCKS.
Reorganize the SSL Socket structure contents to obviate ssl3 pointer.
Move much of the ECC code from ssl3con to new file ssl3ecc.c.  derive.c
implements derivation of the SSL/TLS master secret and the encryption and
MAC keys and IVs without using PKCS11. Bug 305147. r=rrelyea.
Modified Files: ssl/config.mk ssl/manifest.mn ssl/ssl.h ssl/ssl3con.c
    ssl/ssl3gthr.c ssl/sslauth.c ssl/sslcon.c ssl/ssldef.c ssl/sslgathr.c
    ssl/sslimpl.h ssl/sslinfo.c ssl/sslnonce.c ssl/sslsecur.c ssl/sslsnce.c
    ssl/sslsock.c
Added Files: ssl/derive.c ssl/ssl3ecc.c


git-svn-id: svn://10.0.0.236/trunk@179892 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 03:02:16 +00:00
wtchang%redhat.com
78e668b9ca Bugzilla Bug 288647: enable building NSS with an NSPR binary distribution.
Introduced NSPR_INCLUDE_DIR and NSPR_LIB_DIR make variables. Portions of
the patch were contributed by Chris Seawood <cls@seawood.org>. r=relyea.
Modified Files:
	coreconf/OS2.mk coreconf/OpenVMS.mk coreconf/location.mk
	nss/cmd/platlibs.mk nss/cmd/shlibsign/Makefile
	nss/cmd/shlibsign/sign.cmd nss/cmd/shlibsign/sign.sh
	nss/lib/ckfw/builtins/Makefile
	nss/lib/fortcrypt/swfort/pkcs11/Makefile nss/lib/nss/config.mk
	nss/lib/smime/config.mk nss/lib/softoken/config.mk
	nss/lib/ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@176418 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 23:48:30 +00:00
jpierre%netscape.com
cca7512c06 Fix for 244095 - link NSS libraries with -R $ORIGIN on Solaris
git-svn-id: svn://10.0.0.236/trunk@156892 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-25 00:13:12 +00:00
wchang0222%aol.com
d8ea205bcc Bugscape bug 57081: If the make variable NISCC_TEST is defined at build
time, add -DNISCC_TEST to the compile command line.  The NISCC_TEST macro
enables special code that's conditionally compiled for NISCC testing.
Modified Files:
	cmd/smimetools/Makefile cmd/smimetools/cmsutil.c
	lib/ssl/config.mk lib/ssl/manifest.mn


git-svn-id: svn://10.0.0.236/trunk@156332 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 01:29:15 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
wtc%netscape.com
c8c128b326 Bug 134113: make NSS build on Win32 using GCC (MinGW). The patch
(attachment 121068) is contributed by Chris Seawood (cls@seawood.org).


git-svn-id: svn://10.0.0.236/trunk@141471 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 04:23:37 +00:00
wtc%netscape.com
52f5bfd019 Bugzilla bug 70217: ported NSS to BeOS. The patch is contributed by
Christopher Seawood <seawood@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@115206 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 04:23:30 +00:00
wtc%netscape.com
88629b5fca Bugzilla bug 112198: use the -dylib_file ld option to link the ssl3 and
smime3 dylibs and the NSS tools so that they can find the indirectly
referenced libsoftokn3.dylib.  Define and export DYLD_LIBRARY_PATH.  The
patch is contributed by Brian Ryner <bryner@netscape.com>. r=wtc,beard.
Modified Files:
	coreconf/Darwin.mk nss/cmd/platlibs.mk nss/lib/smime/config.mk
	nss/lib/ssl/config.mk nss/tests/common/init.sh


git-svn-id: svn://10.0.0.236/trunk@114612 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 23:38:47 +00:00
nelsonb%netscape.com
d58ebedbc4 Change most coreconf and NSS makefiles to use OS_TARGET (which can
be overridden via an environment variable) rather than OS_ARCH.
This is a precursor to more flexibility in cross-platform builds.
Bug 104541.


git-svn-id: svn://10.0.0.236/trunk@114608 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 22:54:08 +00:00
relyea%netscape.com
e31243d81f changes for PSM to compile against NSS shared libraries.
Move SSL and S/MIME to the new common MAPFILE usage


git-svn-id: svn://10.0.0.236/trunk@108708 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 18:00:28 +00:00
wtc%netscape.com
9e6c133c84 Bugzilla bug #63768: removed references to the obsolete PURE_LIBRARY,
HAVE_PURIFY etc. make variables in NSS files.  Reviewed by nelson Bolyard.
Modified Files:
	cmd/platrules.mk cmd/crmf-cgi/config.mk cmd/crmftest/config.mk
	cmd/lib/config.mk cmd/zlib/config.mk lib/base/config.mk
	lib/certdb/config.mk lib/certhigh/config.mk lib/ckfw/config.mk
	lib/crmf/config.mk lib/cryptohi/config.mk
	lib/fortcrypt/swfort/config.mk lib/freebl/config.mk
	lib/jar/config.mk lib/nss/config.mk lib/pk11wrap/config.mk
	lib/pkcs12/config.mk lib/pkcs7/config.mk lib/smime/config.mk
	lib/softoken/config.mk lib/ssl/config.mk lib/util/config.mk


git-svn-id: svn://10.0.0.236/trunk@86029 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:49:57 +00:00
relyea%netscape.com
41b2d202eb Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries
git-svn-id: svn://10.0.0.236/trunk@85146 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:50:58 +00:00
wtc%netscape.com
4ffe6b4b35 Add library version info to the NSS, S/MIME, and SSL shared libraries.
Define the NSS version macros and add NSS_VersionCheck in nss.h.
Add linker option to record internal name of shared libraries.
Add Windows resource files.  Add rcs and sccs id strings that can be
retrieved with 'ident' and 'what'.
Modified Files:
	coreconf/HP-UX.mk coreconf/OSF1.mk coreconf/SunOS5.mk
        coreconf/WIN954.0.mk coreconf/WINNT4.0.mk coreconf/WINNT5.0.mk
	coreconf/rules.mk nss/lib/nss/config.mk
	nss/lib/nss/manifest.mn nss/lib/nss/nss.h
	nss/lib/nss/nssinit.c nss/lib/smime/config.mk
	nss/lib/smime/manifest.mn nss/lib/ssl/config.mk
	nss/lib/ssl/manifest.mn
Added Files:
	nss/lib/nss/nss.rc nss/lib/nss/nssver.c nss/lib/smime/smime.rc
	nss/lib/smime/smimever.c nss/lib/ssl/ssl.rc
	nss/lib/ssl/sslver.c


git-svn-id: svn://10.0.0.236/trunk@85089 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 20:29:10 +00:00
relyea%netscape.com
8df26b413e Add HP to the platforms that handle restricted symbols
git-svn-id: svn://10.0.0.236/trunk@84500 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:25:29 +00:00
relyea%netscape.com
711d0a77e5 1) Add AIX to the exportted symbols controlled plaform.
2) reduce the exported symbol list down to one


git-svn-id: svn://10.0.0.236/trunk@84460 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:59:03 +00:00
wtc%netscape.com
fd5996c391 Use mapfiles when building the nss, smime, and ssl shared libraries on
Solaris and Linux.
Modified files: nss/config.mk smime/config.mk ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@84181 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 07:13:20 +00:00
wtc%netscape.com
89b0605129 I found that the Windows linker 'link' pulls from an archive library only
the object files needed to resolve referenced symbols, so we will need to
link with the objects directly as we do on Unix.  As a result, nss3.dll
needs to export more (PKCS7) symbols, needed by the new PKCS12 objects
that are linked into smime3.dll.
Modified Files:
    coreconf/rules.mk nss/lib/nss/config.mk
    nss/lib/smime/config.mk nss/lib/ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@84172 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 02:47:16 +00:00
wtc%netscape.com
46220e2fe8 Built nss3.dll, smime3.dll, and ssl3.dll on Windows. Note that we do
not want the "32" in the DLL names that coreconf adds by default.  We
use module-definition (.DEF) files to control the exported symbols.
Made pkcs7 part of nss3.dll to temporarily work around circular dependency
between nss3.dll and smime3.dll (certread.c depends on some PKCS7 symbols).
Modified files: lib/nss/config.mk, lib/smime/config.mk, lib/ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@84162 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:16:56 +00:00
relyea%netscape.com
676f4851bc Shared library changes.
Three directories pull the NSS libraries together into a three shared libaries:
nss, ssl, and smime. Symbols need to be exported by the DLL from the imported
libraries are defined in XXX/XXXsym.c Library linkage is controlled by
XXX/config.mk


git-svn-id: svn://10.0.0.236/trunk@83995 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 17:16:24 +00:00
relyea%netscape.com
a4d4d45374 Initial NSS Open Source checkin
git-svn-id: svn://10.0.0.236/trunk@64788 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:13:40 +00:00