46 Commits

Author SHA1 Message Date
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
wchang0222%aol.com
34e7a0fd19 Bugzilla bug 237870: link the MinGW build with wsock32.dll (Winsock 1)
instead of ws2_32.dll (Winsock 2).  Thanks to neil@parkwaycc.co.uk for the
patch.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@154173 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-23 01:59:40 +00:00
wchang0222%aol.com
f301963873 Bugzilla bug 221133: fixed unused variable warning on some platforms.
The patch is contributed by timeless@bemail.org.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@150509 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 16:35:14 +00:00
wtc%netscape.com
eee783e6a0 Bug 206926: 1. Undo the changes to secrng.h, pqgutil.h, swfutl.c,
unix_rand.c, and win_rand.c. 2. Make secrng.h and pqgutil.h private.
3. Public header pk11pqg.h can't include private header pqgutil.h.
4. Many files don't need to include secrng.h.  A few don't need to include
pqgutil.h.  5. Remove duplicate declarations of PQG_DestroyParams and
PQG_DestroyVerify from blapi.h.


git-svn-id: svn://10.0.0.236/trunk@143125 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 23:31:32 +00:00
wtc%netscape.com
ec94b77dce Bug 206934: use __declspec instead of _declspec. __declspec is the
documented form and the only form accepted by the MinGW compiler.  The
patch is contributed by Christopher Seawood <seawood@netscape.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@142967 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 00:07:36 +00:00
wtc%netscape.com
ef6c7b9e73 Bug 206926: now that secrng.h and pqgutil.h include blapit.h instead of
blapi.h, some files that include secrng.h or pqgutil.h need to include
blapi.h directly.
Modified Files: certcgi.c swfutl.c unix_rand.c win_rand.c


git-svn-id: svn://10.0.0.236/trunk@142897 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-25 01:21:27 +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
nicolson%netscape.com
4b34ca8158 Fix 164126: makefile build error.
Change the NSS module name from "security" to "nss".


git-svn-id: svn://10.0.0.236/trunk@128961 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 16:38:56 +00:00
wtc%netscape.com
16ce983004 Bugs 166734 and 166785: fixed compiler warnings reported by gcc on Linux.
The patch for this checkin is attached to bug 166785.


git-svn-id: svn://10.0.0.236/trunk@128926 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 00:27:52 +00:00
jpierre%netscape.com
0a57a6320a Fix for 160805 . Make a copy of items into the arena before calling SEC_QuickDERDecodeItem where needed
git-svn-id: svn://10.0.0.236/trunk@128597 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-31 00:37:52 +00:00
jpierre%netscape.com
20841a8843 Convert slow SEC_ASN1DecodeItem calls to SEC_QuickDERDecodeItem where possible. Performance improvement. Bug #160805 . r=relyea
git-svn-id: svn://10.0.0.236/trunk@128023 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 00:52:47 +00:00
wtc%netscape.com
58c8b6839b Bugzilla bug 131057: define PORT_Strdup as a function that calls PORT_Alloc.
Modified files:
	lib/ckfw/nsprstub.c lib/fortcrypt/swfort/pkcs11/stub.c
	lib/nss/nss.def lib/util/secport.c lib/util/secport.h


git-svn-id: svn://10.0.0.236/trunk@120367 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:06:39 +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
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
nelsonb%netscape.com
d2efb641d7 Make NSS 3.4 build as part of mozilla on OS/2. Bug 114748.
Patch supplied by Javier Pedemonte.


git-svn-id: svn://10.0.0.236/trunk@114184 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 05:48:37 +00:00
relyea%netscape.com
162c530b16 Land BOB_WORK_BRANCH unto the tip.
remove lots of depricated files.
move some files to appropriate directories (pcertdb *_rand
associated headers to soft token, for instance)
rename several stan files which had the same name as other nss files.
remove depricated functions.


git-svn-id: svn://10.0.0.236/trunk@107628 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:15:51 +00:00
relyea%netscape.com
9c16ebd7f8 Sigh, some platforms have stdio.h included, some don't.
git-svn-id: svn://10.0.0.236/trunk@103377 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:19:15 +00:00
relyea%netscape.com
00c62fcc57 Fix compiler warnings on Solaris, Linux, AIX, HP.
Remove dependency on header files in softoken.


git-svn-id: svn://10.0.0.236/trunk@103363 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:07:33 +00:00
wtc%netscape.com
66e9f7aceb Bugzilla bug #83811: added a new implicit rule to build BUILT_CSRCS
because VPATH or vpath doesn't search in a directory that doesn't
exist at the beginning of a make invocation even if it is created
by the make invocation.
Modified files: coreconf/rules.mk, nss/lib/fortcrypt/swfort/manifest.mn


git-svn-id: svn://10.0.0.236/trunk@96373 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:32:14 +00:00
wtc%netscape.com
d723befbf4 The rule for creating nslib.c does not need to be a double-colon rule.
Modified it to use automatic variables ($+ and $@) instead of hardcoded
file names.


git-svn-id: svn://10.0.0.236/trunk@96258 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-03 05:36:28 +00:00
wtc%netscape.com
336ac4034b Bugzilla bug #83811: deleted the useless vpath %.c $(OBJDIR) because
OBJDIR is not defined yet.  Restored VPATH = $(OBJDIR) as a temp
workaround.  Also deleted GARBAGE = nslib.c, which is no longer
correct.


git-svn-id: svn://10.0.0.236/trunk@96241 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 15:59:58 +00:00
wtc%netscape.com
05c1b7e5ee Deleted redundant VPATH because vpath is enough.
git-svn-id: svn://10.0.0.236/trunk@96230 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 06:12:29 +00:00
wtc%netscape.com
86f0ea0a99 Turned on building of the software Fortezza pkcs11 module. It builds on
NT (both in source tree and with BUILD_TREE) for me.


git-svn-id: svn://10.0.0.236/trunk@96216 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 02:08:55 +00:00
wtc%netscape.com
63cc5e9412 Use = instead of += to define INCLUDES. It is fine to use = because
this is the very first file Makefile includes.
Define -DSWFORT in DEFINES rather than CFLAGS.  First, DEFINES is the
variable for macro defines.  Second, by not defining CFLAGS in this file,
we will be able to check in the fix for bug #77788.  However, I am not
sure whether we should fix bug #77788.


git-svn-id: svn://10.0.0.236/trunk@96196 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 23:32:39 +00:00
relyea%netscape.com
ec6aa9520f Get NT builds running again by turning off building of the sw fortezza pkcs11 module.
git-svn-id: svn://10.0.0.236/trunk@94271 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 21:22:20 +00:00
relyea%netscape.com
765331050a Changes to allow NSS to build in to a separate object tree.
git-svn-id: svn://10.0.0.236/trunk@93467 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 16:40:19 +00:00
relyea%netscape.com
b0b42df9ab Back out changes which prevent NT from building. Need to figure something else out (sigh).
bob


git-svn-id: svn://10.0.0.236/trunk@93073 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 16:34:33 +00:00
relyea%netscape.com
9b8fc1c1ff Patch to make the build work in both traditional and re-directed object mode.
git-svn-id: svn://10.0.0.236/trunk@93002 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 19:52:06 +00:00
relyea%netscape.com
2beaebd2a4 Add client requested features to coreconf:
building cross platform.
        targetting the Objects to a separate tree.


git-svn-id: svn://10.0.0.236/trunk@92999 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 17:05:18 +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
wtc%netscape.com
7eaf8ab4ae Bugzilla bug #62855: checked in OS/2 patches from Javier Pedemonte
<pedemont@us.ibm.com>.
Modified files: selfserv.c, swfutl.c, os2_rand.c.


git-svn-id: svn://10.0.0.236/trunk@85842 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 19:09:48 +00:00
wtc%netscape.com
9666abf3c8 Bugzilla bug #66889: do not export the Windows import libraries for the
loadable PKCS#11 modules fort32.dll, swft32.dll, and nssckbi.dll.
Reviewed by Bob Relyea.
Modified files:
	nss/lib/ckfw/builtins/Makefile nss/lib/ckfw/builtins/config.mk
	nss/lib/fortcrypt/config.mk
	nss/lib/fortcrypt/swfort/pkcs11/config.mk


git-svn-id: svn://10.0.0.236/trunk@85767 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 19:43:26 +00:00
wtc%netscape.com
a8f41a3675 Bugzilla bug #64306: added stubs for PR_SetError and PR_SetErrorText.
Reviewed by Nelson Bolyard.


git-svn-id: svn://10.0.0.236/trunk@85702 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 02:03:47 +00:00
wtc%netscape.com
bb21be13f4 Bugzilla bug #65918: do not build shared libraries on OSF1 with the -all
linker option.  The temporary workaround in two makefiles were removed.
Modified Files:
	coreconf/OSF1.mk nss/lib/ckfw/builtins/Makefile
	nss/lib/fortcrypt/swfort/pkcs11/Makefile


git-svn-id: svn://10.0.0.236/trunk@85279 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 17:16:47 +00:00
wtc%netscape.com
798b64352e Have lib/fortcrypt/Makefile and lib/fortcrypt/swfort/pkcs11/Makefile
include the local config.mk file so that libfort.a and libswft.a don't
get built.


git-svn-id: svn://10.0.0.236/trunk@84315 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:49:48 +00:00
larryh%netscape.com
18549422d1 Bugzilla: 64132. NSS lock instrumentation
git-svn-id: svn://10.0.0.236/trunk@84300 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 19:51:22 +00:00
wtc%netscape.com
71525d74b4 Bugzilla bug #63832: use $(MAKE) instead of gmake in sub-makes.
git-svn-id: svn://10.0.0.236/trunk@84126 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:07:27 +00:00
wtc%netscape.com
5671033c01 Bugzilla bug #54711: removed unused variables MOZ_DIST and MOZ_LIB
from OS2.mk.  Handle the different names of plc4 and plds4 libraries
on OS/2.  Thanks to Huynh Trinh <hctrinh@us.ibm.com> for the patch.
Modified Files:
    coreconf/OS2.mk nss/lib/ckfw/builtins/Makefile
    nss/lib/fortcrypt/swfort/pkcs11/Makefile


git-svn-id: svn://10.0.0.236/trunk@80233 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:58:18 +00:00
wtc%netscape.com
287ec3547d Bugzilla bug #54711: use full maci on OS/2. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.


git-svn-id: svn://10.0.0.236/trunk@80195 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 03:29:42 +00:00
mcgreer%netscape.com
01ab8488fd change to allow builds with RSA BSAFE Crypto-C library
git-svn-id: svn://10.0.0.236/trunk@80129 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:14:03 +00:00
wtc%netscape.com
bdea4bc5b7 One only needs to link with either libcrypto or freebl. We need to copy
freebl/sha_fast.{c,h} to libcrypto to make libcrypto complete.
Modified files: nss/cmd/platlibs.mk, nss/lib/Makefile,
nss/lib/fortcrypt/swfort/pkcs11/Makefile.


git-svn-id: svn://10.0.0.236/trunk@79724 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:20:44 +00:00
relyea%netscape.com
f47ead3b87 OS/2 build changes.
git-svn-id: svn://10.0.0.236/trunk@79631 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 17:07:22 +00:00
nelsonb%netscape.com
4e9eafa605 Fix build on NT. Correct link order in PKCS11 directory.
git-svn-id: svn://10.0.0.236/trunk@70978 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:30:29 +00:00
mcgreer%netscape.com
7058384b48 Add condition for BSAFE build.
git-svn-id: svn://10.0.0.236/trunk@69476 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:37:36 +00:00
relyea%netscape.com
0cfd00b308 Make the stub sytem work for WIN NT as well as other unix platforms:
1) fix compile issue in the stub maci.c file (change dllimports to dllexports).
	2) build a dll with matching lib to make the symbols all work.


git-svn-id: svn://10.0.0.236/trunk@65212 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 23:49:50 +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