1132 Commits

Author SHA1 Message Date
mcgreer%netscape.com
1469b41a38 get pk12util working with shared libs. Change ciphersuites to
be disabled by default to allow user control.  Export a couple
more functions to allow ciphersuite preferences.


git-svn-id: svn://10.0.0.236/trunk@86099 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:24:29 +00:00
wtc%netscape.com
cf9a078cd3 Bugzilla bug #63768: removed references to the obsolete make variable
PURE_LIBRARY in PSM files.  Reviewed by Javier Delgadillo.
Modified files: psm/lib/client/config.mk, psm/lib/client/sample/config.mk,
psm/lib/protocol/config.mk


git-svn-id: svn://10.0.0.236/trunk@86048 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 04:13:10 +00:00
wtc%netscape.com
c0117cf4f6 Bugzilla bug #63768: removed references to obsolete make variables
HAVE_PURIFY and PURE_LIBRARY in JSS files.  Reviewed by James Nicolson.
Modified files: jss/config/libnames.mk, jss/lib/config.mk, jss/lib/rules.mk


git-svn-id: svn://10.0.0.236/trunk@86037 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 02:34:26 +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
9cc5346bd9 Bugzilla bug #62855: added rule to build import libraries on OS/2. Thanks
to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Modified files: OS2.mk, rules.mk, ruleset.mk


git-svn-id: svn://10.0.0.236/trunk@86021 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:17:58 +00:00
javi%netscape.com
1d245b0ea5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@85999 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:59:09 +00:00
javi%netscape.com
f60ecf6e95 I couldn't figure out why the ConvertMacPathToUnixPath symbol is no longer exported by the NSPR library, so we'll include our implementation in the meantime.
git-svn-id: svn://10.0.0.236/trunk@85998 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:54:22 +00:00
javi%netscape.com
5a0aa581f1 Bring projects up to date for NSS 3.2
git-svn-id: svn://10.0.0.236/trunk@85997 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:52:03 +00:00
relyea%netscape.com
8d89b225b4 Add code to shutdown the PKCS #11 subsystem so NSS can be called to switch profiles.
git-svn-id: svn://10.0.0.236/trunk@85984 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 19:09:23 +00:00
relyea%netscape.com
ac8ccd2734 remove cdbhdl.h and recode. bug 64206 reviewed by wtc.
git-svn-id: svn://10.0.0.236/trunk@85983 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 19:05:10 +00:00
wtc%netscape.com
2884d11d86 Bugzilla bug #62855: make the rule to build .cpp files work for OS/2
VACPP.  Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@85977 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 18:19:47 +00:00
relyea%netscape.com
2edf510fba remove cdbhdl.h bug 64260 reviewed by wtc.
git-svn-id: svn://10.0.0.236/trunk@85976 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 18:09:50 +00:00
bryner%uiuc.edu
1126cb28ee Make pipnss's version of nsSecureBrowserUIImpl support weak refs, as was already done to psm-glue. r=thayes.
git-svn-id: svn://10.0.0.236/trunk@85928 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 03:25:48 +00:00
kirke%netscape.com
0f5d395bad Resolved merge conflict with Ian.
git-svn-id: svn://10.0.0.236/trunk@85920 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 01:29:04 +00:00
kirke%netscape.com
36a11bbc0f Fixed bogus tab introduced by my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@85915 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 00:57:26 +00:00
wtc%netscape.com
ac46fb12e3 Bugzilla bug #62855: added stubs for the SSL session cache functions so
that selfserv can link without unresolved symbols on OS/2.


git-svn-id: svn://10.0.0.236/trunk@85903 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:43:47 +00:00
kirke%netscape.com
55dbf03443 Resolves bug 66244 - Many NSS command do not detect failure of NSS_Init* functions. Introduced SECU_PrintPRandOSError(progName); to print on failure. Each command is responsible for exiting with appropriate status to distinguish failure points.
git-svn-id: svn://10.0.0.236/trunk@85896 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:25:02 +00:00
wtc%netscape.com
3e002d4191 Bugzilla bug #54711: OS/2 does not need to build nsinstall.
git-svn-id: svn://10.0.0.236/trunk@85891 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:21:28 +00:00
wtc%netscape.com
b2b423ac4a Bugzilla bug #62855: checked in OS/2 makefile patches from Javier
Pedemonte <pedemont@us.ibm.com>.
Modified Files:
	coreconf/OS2.mk coreconf/arch.mk coreconf/prefix.mk
	coreconf/rules.mk coreconf/suffix.mk nss/Makefile
	nss/cmd/platlibs.mk nss/lib/ckfw/builtins/config.mk


git-svn-id: svn://10.0.0.236/trunk@85875 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:29:31 +00:00
wtc%netscape.com
470980c477 I found that #include <unistd.h> is still needed on Unix for getpid().
git-svn-id: svn://10.0.0.236/trunk@85843 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 19:18:09 +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
008eff7f2b Bugzilla bug #62855: do not use the XP_PC macro. Use XP_WIN16 when we mean
Win 16.  Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@85836 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 18:27:15 +00:00
thayes%netscape.com
5570895680 Reorganize password callback context (uses nsIInterfaceRequestor).
Fix several bugs in the SDR implementation.


git-svn-id: svn://10.0.0.236/trunk@85834 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 18:03:49 +00:00
wtc%netscape.com
7374eada86 Bugzilla bug #67122: put PR_CALLBACK after the return type in function
declarations.  This is the order required by OS/2 compilers.  Thanks to
Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Modified files: hashops.c, tracker.c, certt.h, oid.c.


git-svn-id: svn://10.0.0.236/trunk@85833 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 18:01:53 +00:00
mcgreer%netscape.com
ac86952e60 bug 67100, memory leaks in rsa.c and pqg.c fixed.
git-svn-id: svn://10.0.0.236/trunk@85832 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 15:49:19 +00:00
wtc%netscape.com
d56852a8a7 Backed out the previous checkin as it requires
sec_port_ucs4_utf8_conversion_function and
sec_port_ucs2_utf8_conversion_function be exported on Unix.


git-svn-id: svn://10.0.0.236/trunk@85812 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 03:44:43 +00:00
wtc%netscape.com
cce6466b5f We can just pass NULL as the 'envp' argument to PR_CreateProcess, so we
do not need to get the declaration of 'environ' on Unix.  Reviewed by
Nelson Bolyard.


git-svn-id: svn://10.0.0.236/trunk@85811 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 03:39:59 +00:00
nelsonb%netscape.com
5bc2557a28 Fix memory leak in mpp_make_prime. Bug 67094.
git-svn-id: svn://10.0.0.236/trunk@85788 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 00:37:40 +00:00
wtc%netscape.com
50931f27c7 Bugzilla bug #66367: rename the internal NSS functions that we have to
export from the NSS shared library.  Reviewed by Bob Relyea.
Modified Files:
	nss/lib/certdb/certdb.c nss/lib/certdb/pcertdb.c
	nss/lib/nss/Makefile nss/lib/nss/manifest.mn
	nss/lib/nss/nss.def nss/lib/pk11wrap/pk11skey.c
	nss/lib/pkcs12/p12d.c nss/lib/pkcs12/p12e.c
	nss/lib/pkcs12/p12local.c nss/lib/pkcs7/certread.c
	nss/lib/pkcs7/p7decode.c nss/lib/pkcs7/p7encode.c
	nss/lib/smime/cmsutil.c nss/lib/softoken/secpkcs5.c
	nss/lib/ssl/ssl3con.c nss/lib/ssl/sslcon.c
	nss/lib/ssl/sslnonce.c nss/lib/ssl/sslsnce.c
	nss/lib/util/nsslocks.c
Added Files:
	nss/lib/nss/nssrenam.h


git-svn-id: svn://10.0.0.236/trunk@85774 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 21:02:28 +00:00
mcgreer%netscape.com
c44732627e change pk12util to use shared libs.
git-svn-id: svn://10.0.0.236/trunk@85769 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 19:49:52 +00:00
mcgreer%netscape.com
3deed93443 export PKCS#12 symbols via the S/MIME DSO. Change default cipher list
to enable all available ciphersuites.


git-svn-id: svn://10.0.0.236/trunk@85768 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 19:47:39 +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
f2d112dba5 Bugzilla bug #54989: Use the AIX -brtl linker option to link the NSS
utilities with NSPR shared libraries.  Reviewed by Bob Relyea.


git-svn-id: svn://10.0.0.236/trunk@85766 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 19:11:22 +00:00
javi%netscape.com
66800f3f17 Add first cut at exportable interfaces.
git-svn-id: svn://10.0.0.236/trunk@85765 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 18:34:22 +00:00
thayes%netscape.com
71d72ba386 Initial versions of SDR. Doesn't do change/set password yet.
git-svn-id: svn://10.0.0.236/trunk@85709 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 02:47:43 +00:00
bryner%uiuc.edu
16e8c2d58d Bug 66886 - parent PSM dialogs correctly. This fixes all of the cases in PSM2 and several cases in PSM1. r=javi,danm. sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@85704 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 02:12:53 +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
ac41e872c6 Bugzilla bug #63935: use our own macro LINUX instead of the compiler
predefined macro __linux as __linux is not defined by some compilers.
Thanks to jsmith@penguinppc.org for the bug report and a suggested fix.


git-svn-id: svn://10.0.0.236/trunk@85697 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:52:47 +00:00
mcgreer%netscape.com
650c0b7bde handle leading zeroes in q bug (66558). suggested by nicolson; r=mcgreer,a=wtc
git-svn-id: svn://10.0.0.236/trunk@85672 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 14:24:57 +00:00
mcgreer%netscape.com
8e4edb82dc Per bug #66551, remove all HMAC_ calls from exported symbol list. All
HMAC_ functionality can be done the PKCS#11 interface.


git-svn-id: svn://10.0.0.236/trunk@85636 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:38:45 +00:00
mcgreer%netscape.com
89893cb892 Change all HMAC_ calls to use PKCS#11 interface. Now the PKCS#12 library
only depends on functions already exported from the NSS DSO (the HMAC_
calls will be removed from the exported symbol list).
r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@85633 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:34:27 +00:00
javi%netscape.com
2f6339e93e Insert some white space into Makefile.in so that autoconf makes
Makefile from it after a check-out.  This fixes srcdir builds
on a fresh pull.


git-svn-id: svn://10.0.0.236/trunk@85599 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:45:42 +00:00
nelsonb%netscape.com
4c5f28388a Add multi-process server capability to selfserv. Bug 66630.
New -M command line option runs multiple selfserv processes,
all serving in parallel on the same TCP listen socket.


git-svn-id: svn://10.0.0.236/trunk@85597 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:36:15 +00:00
javi%netscape.com
2238995cdb Fix Win32 opt build bustage.
git-svn-id: svn://10.0.0.236/trunk@85576 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 18:55:34 +00:00
mcgreer%netscape.com
b3d5329062 thought I'd be cool and make it build with DSO's, but alas, need CERT_DecodeTrustString...
git-svn-id: svn://10.0.0.236/trunk@85575 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 16:45:46 +00:00
mcgreer%netscape.com
83107202a3 initial checkin of tool which converts CA certs into format for certdata.txt
git-svn-id: svn://10.0.0.236/trunk@85574 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 16:32:10 +00:00
relyea%netscape.com
673c70fee5 Allow NSS_Initialize to succeed even if the databases cannot be opened.
NOTE: BETA 3 solution only. After Beta 3 NSS_Initialize will get to new
options to control this functionality more finely


git-svn-id: svn://10.0.0.236/trunk@85555 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 04:33:45 +00:00
nelsonb%netscape.com
3844d4f4f4 Win32 processes have two environments, a Unix-compatible one and an NT
environment.  NSS has no control over which of these environments will
be inherited by any child processes, so when NSS modifies or adds an
environment variable, it needs to do so to both environments.
This fixes bugzilla bug 66615.  Reviewed by wtc.


git-svn-id: svn://10.0.0.236/trunk@85551 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 03:24:05 +00:00
wtc%netscape.com
5908b39b8b Bugzilla bug #63832: changed hardcoded 'gmake' to $(MAKE) in PSM makefiles.
Modified files: psm/Makefile, psm/lib/client/sample/Makefile,
psm/server/Makefile.


git-svn-id: svn://10.0.0.236/trunk@85523 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:48:33 +00:00
javi%netscape.com
065425a146 Part of patch for bug 64650 r=javi
build psmmain.c in the project instead of main.c


git-svn-id: svn://10.0.0.236/trunk@85516 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:21:43 +00:00