Commit Graph

1357 Commits

Author SHA1 Message Date
javi%netscape.com
e3864a18c9 Update version number for PSM 2001-02-15 00:39:38 +00:00
javi%netscape.com
da826ac2c6 Update protocol version string. 2001-02-15 00:38:51 +00:00
mcgreer%netscape.com
dc7ad98e67 configure PKCS#11 strings in PSM.
r=javi
2001-02-14 22:15:53 +00:00
thayes%netscape.com
f00d62ad0f Add MPL license text. 2001-02-14 20:11:25 +00:00
thayes%netscape.com
e7f9d4bef6 Change initialization of NSSDialog object 2001-02-14 20:10:00 +00:00
thayes%netscape.com
2a1a86b9b0 Implement nsISecurityWarningDialogs in the NSSDialogs object. 2001-02-14 20:09:33 +00:00
thayes%netscape.com
a0d0e598cc Use NSSDialogs service to implement security warning dialogs. 2001-02-14 20:00:01 +00:00
thayes%netscape.com
5da8e807fe Define new SecurityWarningDialogs interface 2001-02-14 19:58:21 +00:00
javi%netscape.com
9bdb616f80 Whenever we get the NSS Dialogs, make it a proxied service to avoid
all the assertions and eventual abort my JavaScript when we try to
open a window on a thread other than the UI thread.
2001-02-14 01:45:28 +00:00
javi%netscape.com
879675e43f Checking in the patch that gets Carbon builds working for PSM 1.x 2001-02-13 22:44:51 +00:00
javi%netscape.com
5c61971304 Remove all ^M characters 2001-02-13 00:27:27 +00:00
bryner%uiuc.edu
4f48cccce0 Backing out dougt's channel changes. 2001-02-12 03:20:46 +00:00
javi%netscape.com
315fde2197 Make the nsINSSDialogs a base class that we do a QI to
figure out if it implements the interface we want.

Change the implementation in pippki to register its UI handling
with this new method.
2001-02-10 02:53:10 +00:00
nicolson%netscape.com
ef3cc55525 fill out SSLSocket with more methods. 2001-02-10 02:49:33 +00:00
bryner%uiuc.edu
92b0d516c0 Catching up with dougt's necko changes. r=javi. 2001-02-10 02:29:46 +00:00
relyea%netscape.com
0a1f85a8bd OK, let's not get sloppy on the types... flags should be a PRUint32. 2001-02-10 02:05:19 +00:00
relyea%netscape.com
126437e7e3 Make the public interface use a flags variable instead of a billion little
Bools.

suggested and reviewed by wtc in bug 66230
2001-02-10 02:03:03 +00:00
relyea%netscape.com
3d2bfa7d13 Bug 68234. Handle automatic update of NES2.0, and NES 3.X databases.
reviewed by nelsonb
2001-02-10 01:44:34 +00:00
mcgreer%netscape.com
47e7b4834f add a script for testing various nss commands. not run by default for now. 2001-02-09 22:06:16 +00:00
nicolson%netscape.com
d5e16f8892 Export the JavaVM so we can access it from SSL callbacks. 2001-02-09 21:47:29 +00:00
nicolson%netscape.com
324d2ed874 remove /s/b/c/ from jdk.mk. To Netscape-chauvinistic. 2001-02-09 21:25:50 +00:00
bryner%uiuc.edu
421228fcf3 Fixing compile for tip NSS. r=javi. Not part of build. 2001-02-09 20:17:05 +00:00
nicolson%netscape.com
654f153ad0 some new utilities for the SSL code. 2001-02-09 11:28:01 +00:00
nicolson%netscape.com
0be719232d build ssl now. 2001-02-09 11:27:13 +00:00
nicolson%netscape.com
dc4a25c558 remove libfort, add lib jssssl. 2001-02-09 11:26:48 +00:00
nicolson%netscape.com
a9186e6910 Checkin new SSL code. SSLClient test works. 2001-02-09 11:26:34 +00:00
nelsonb%netscape.com
ecb09e90e8 Modify ssl_FindSocket() to set error PR_BAD_DESCRIPTOR_ERROR when it
cannot find the SSL layer on the specified PRFileDesc. Ensure all
callers detect when ssl_FindSocket returns NULL and handle it properly.
Bug 68241. Reviewed by jgmyers and relyea.
Modified Files:
 	prelib.c sslauth.c sslsecur.c sslsock.c
2001-02-09 02:11:31 +00:00
javi%netscape.com
55963742ba Clean up the NSS initialization code including loading of Root Cert module. 2001-02-09 01:56:29 +00:00
relyea%netscape.com
a2d46ed98c update certutil and modutil to use the new NSS_Initialize signature.
modutil can now specify it's nocertdb paramter.

bug 64260 reviewed by wtc
2001-02-09 01:38:04 +00:00
relyea%netscape.com
9a4a2d9ddb Allow applications to initialize nss without necessarily initializing databases.Needed to keep old modutil semantics. Bug 66230. reviewed by wtc. 2001-02-09 01:34:12 +00:00
relyea%netscape.com
ea8de3c817 Move cdbhdl.h to private exports. bug 64260 revied by nelsonb. 2001-02-09 01:32:42 +00:00
nelsonb%netscape.com
01bdbccb5d Allow application to customize cert verification slop time.
Default is 24 hours.  Bug 48300. Reviewed by wtc.
Modified Files:
 	lib/nss/nss.def lib/certdb/cert.h lib/certdb/certdb.c
2001-02-09 01:06:41 +00:00
nelsonb%netscape.com
7dcf6f9722 Make SSL API consistent in using SECStatus as return value for functions
that return only values in that enumeration.  Bug 68097. R&A = relyea.
Modified Files:
 	lib/ssl/ssl.h lib/ssl/sslauth.c lib/ssl/sslsecur.c
 	lib/ssl/sslsnce.c lib/ssl/sslsock.c cmd/selfserv/selfserv.c
 	cmd/strsclnt/strsclnt.c
2001-02-09 00:32:14 +00:00
javi%netscape.com
4e85b7019a Fix for Bug 68063 r=nelsonb, a=wtc Make NSS_Init backwards compatible for the Mac. 2001-02-08 23:43:00 +00:00
javi%netscape.com
3e57841b59 First Checked In. 2001-02-08 02:25:25 +00:00
nelsonb%netscape.com
9c6844617f Changes suggested by Wan-Teh. 2001-02-08 01:32:32 +00:00
wtc%netscape.com
18e1a7aec5 Set NSS version to 3.2. 2001-02-08 01:22:01 +00:00
javi%netscape.com
8e8d93ab17 First Checked In. 2001-02-08 00:41:58 +00:00
javi%netscape.com
04184f460b Add the new nsPK11DB.cpp file to the Mac project. correctly append Security to the user path when initializing on the Mac. 2001-02-08 00:41:42 +00:00
wtc%netscape.com
9e6e35f1f7 Bugzilla bug #62855: put my checkin back in again. Sorry about the
flipflop.
Modified files: arch.mk, config.mk
2001-02-07 23:52:11 +00:00
javi%netscape.com
4113bdd142 One last fix for the OS/2 guys. Make the cmt libraries a static
library.  Fix for Bug 63209

  r=cls, javi
2001-02-07 23:43:29 +00:00
thayes%netscape.com
e94c3c1fd3 Fix compiler warnings/failures on Linus/Mac 2001-02-07 23:38:59 +00:00
wtc%netscape.com
c6b073b9df Checked in Javier Pedemonte's patch (<pedemont@us.ibm.com) to fix OS/2
build breakage.  r=wtc@netscape.com.  a=leaf@mozilla.org.
2001-02-07 23:38:39 +00:00
bryner%uiuc.edu
3dadcb2d4b Cleaning up indenting. Not part of build. 2001-02-07 23:07:56 +00:00
javi%netscape.com
ccda0e33f7 Final patch for Bug 6856. OS/2 port for PSM. 2001-02-07 21:05:21 +00:00
thayes%netscape.com
ae1e32f036 Add PIPPKI module to UNIX builds 2001-02-07 19:53:41 +00:00
wtc%netscape.com
c16257b33b Bugzilla bug #62855: backed out my previous checkin, which doesn't quite
work.  Will look at this later.
Modified files: arch.mk, config.mk
2001-02-07 19:12:04 +00:00
javi%netscape.com
614c6cd815 Create an interface nsINSSComponent that we can use to look up
service for nsNSSComponent from the NSS callbacks.
2001-02-07 19:00:52 +00:00
thayes%netscape.com
b3db34c62b Create DTD for pippki module 2001-02-07 18:51:23 +00:00
wtc%netscape.com
782588654c Need to include "prthread.h" for the PRThread type. 2001-02-07 17:50:43 +00:00
thayes%netscape.com
6439177e99 Fix incorrect module name on chrome URL 2001-02-07 17:35:40 +00:00
nelsonb%netscape.com
720374d8c3 When half-duplex applications (e.g. one thread per socket, doing alternate
reading and writing) call PR_Send and PR_Recv with a non-infinite timeout
value, use that value for both underlying read and write operations.
Fixes bug 67402.  Reviewed by Wan-Teh.
2001-02-07 02:06:05 +00:00
nelsonb%netscape.com
e9439fc5c2 Big changes to get better SSL performance out of selfserv.
Launch all connection handler threads at program startup, and reuse those
threads for new connections, rather than creating new threads for each
connection and having them terminate at the end of each connection.
The main thread is now the acceptor thread.  It creates a queue of
accepted but unprocessed connections.  NSPR Condition variables are used
to schedule the connection handler threads.
Only one GET /stop message is now required to terminate selfserv.
Note, the -2 (full duplex) option is temporarily disabled until I get it
to work with this new thread model.
Add new -D command line option to suppress TCP Nagle delays.
Used to verify the fix to bug 67898.
2001-02-07 01:56:30 +00:00
nelsonb%netscape.com
c216172478 Add new -D command line option to suppress TCP Nagle delays.
This is used to verify the fix for bug 67898.
2001-02-07 01:50:46 +00:00
thayes%netscape.com
9538b977ec Create PKI module for implementation of callback
functions for user interaction.
2001-02-07 01:25:16 +00:00
nelsonb%netscape.com
4207bb1bdb Coalesce the final Finished message in the SSL handshake and the first
record of application data into a single write, when possible, to avoid
TCP's "Nagle" delays.  Fixes bug 67898.  r&a: wtc.  Modified Files:
	ssl3con.c sslimpl.h sslsecur.c sslsock.c
2001-02-07 00:34:56 +00:00
javi%netscape.com
997ef4562f Patch from Javier Pedemonte from IBM to get PSM building on OS/2
Fix for Bug 62856
2001-02-06 23:59:42 +00:00
javi%netscape.com
474fa8be60 Remove C++ comments from C file. 2001-02-06 23:50:12 +00:00
javi%netscape.com
f271ab26a2 Fix for Bug 66939 r=javi, sr=mscott check in patch to allow profile switching on the Mac. Original patch provided by ccarlen. 2001-02-06 23:43:27 +00:00
bryner%uiuc.edu
120c2b4fd9 bug 67527 -- cleaning up psm module registration (both psm 1.x and PIP). r=javi, sr=brendan. 2001-02-06 23:10:16 +00:00
thayes%netscape.com
bde03842a3 Add public directory 2001-02-06 23:05:19 +00:00
thayes%netscape.com
b5e8127f4b Add nsPK11TokenDB. Modify SDR to throw set-password dialog. 2001-02-06 23:01:33 +00:00
thayes%netscape.com
97e399fbe6 Remove SecureDevicePrompt idl 2001-02-06 23:00:18 +00:00
thayes%netscape.com
232e1017a1 Add INSSDialogs IDL 2001-02-06 22:58:57 +00:00
thayes%netscape.com
98d97de274 Add PK11TokenDB IDL 2001-02-06 22:52:10 +00:00
javi%netscape.com
8661fd9797 Make the Bundle methods non-static. This is the first of 2 parts.
The next part fix will create a private interface for looking up
the nsNSSComponent from the callbacks instead of type-casting
nsISecurityManagerComponent pointer.
2001-02-06 20:09:27 +00:00
mcgreer%netscape.com
532933e0be bug 67132. certutil crashes on -C -x combination, deny it for now.
certutil -C was not recognizing the -a (ascii) option, implement it.
r=wtc
2001-02-06 18:26:30 +00:00
javi%netscape.com
455a2e625e Remove references to coreconf from the Makefile for building
pipnss
2001-02-06 02:44:15 +00:00
relyea%netscape.com
0373ca7fe5 Bug 67501: Fix suggested by Nelson. Make '-d' option work again in sdrtest. 2001-02-06 01:05:21 +00:00
relyea%netscape.com
f1ffa04d9e Bug 67068. Fix Crash in SECMOD_Shutdown. reviewed by wtc. 2001-02-06 00:11:24 +00:00
relyea%netscape.com
42e1aaee86 Fix error value to return a less misleading generic error when the bignum libraries fail 2001-02-06 00:09:54 +00:00
bryner%uiuc.edu
8668f287ba Bug 67507 - implement TLSStepUp(). r=javi. Not part of build. 2001-02-05 21:46:24 +00:00
wtc%netscape.com
252ab4b975 Bugzilla bug #62855: remembered the right way to have OS/2 include a
single OS2.mk for all OS releases.
Modified files: arch.mk, config.mk
2001-02-04 06:09:52 +00:00
wtc%netscape.com
804472db43 Bugzilla bug #60143: checked in OpenVMS patch from Colin Blake
<colin@theblakes.com>.
Modified Files:
	coreconf/OpenVMS.mk coreconf/arch.mk coreconf/rules.mk
	coreconf/ruleset.mk nss/cmd/lib/secpwd.c nss/lib/nss/nss.h
	nss/lib/nss/nssinit.c
2001-02-04 05:52:42 +00:00
mcgreer%netscape.com
c4d36363d2 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.
2001-02-02 15:24:29 +00:00
wtc%netscape.com
89c0c8b964 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
2001-02-02 04:13:10 +00:00
wtc%netscape.com
4010573a97 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
2001-02-02 02:34:26 +00:00
wtc%netscape.com
a83eb31b00 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
2001-02-02 01:49:57 +00:00
wtc%netscape.com
b080259a58 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
2001-02-02 01:17:58 +00:00
javi%netscape.com
46b9731f5f First Checked In. 2001-02-01 21:59:09 +00:00
javi%netscape.com
2b19fc9918 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. 2001-02-01 21:54:22 +00:00
javi%netscape.com
b8986c4568 Bring projects up to date for NSS 3.2 2001-02-01 21:52:03 +00:00
relyea%netscape.com
2c9a42201b Add code to shutdown the PKCS #11 subsystem so NSS can be called to switch profiles. 2001-02-01 19:09:23 +00:00
relyea%netscape.com
261bf7afac remove cdbhdl.h and recode. bug 64206 reviewed by wtc. 2001-02-01 19:05:10 +00:00
wtc%netscape.com
cdc96e47f0 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.
2001-02-01 18:19:47 +00:00
relyea%netscape.com
0f7d6dba5f remove cdbhdl.h bug 64260 reviewed by wtc. 2001-02-01 18:09:50 +00:00
bryner%uiuc.edu
3505933119 Make pipnss's version of nsSecureBrowserUIImpl support weak refs, as was already done to psm-glue. r=thayes. 2001-02-01 03:25:48 +00:00
kirke%netscape.com
c1a3909887 Resolved merge conflict with Ian. 2001-02-01 01:29:04 +00:00
kirke%netscape.com
eb932053fa Fixed bogus tab introduced by my previous checkin. 2001-02-01 00:57:26 +00:00
wtc%netscape.com
899e61b6cb Bugzilla bug #62855: added stubs for the SSL session cache functions so
that selfserv can link without unresolved symbols on OS/2.
2001-01-31 23:43:47 +00:00
kirke%netscape.com
b4bed1dcdb 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. 2001-01-31 23:25:02 +00:00
wtc%netscape.com
86f3733977 Bugzilla bug #54711: OS/2 does not need to build nsinstall. 2001-01-31 23:21:28 +00:00
wtc%netscape.com
1ca200c1e1 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
2001-01-31 21:29:31 +00:00
wtc%netscape.com
39bfa805f3 I found that #include <unistd.h> is still needed on Unix for getpid(). 2001-01-31 19:18:09 +00:00
wtc%netscape.com
0669b974b3 Bugzilla bug #62855: checked in OS/2 patches from Javier Pedemonte
<pedemont@us.ibm.com>.
Modified files: selfserv.c, swfutl.c, os2_rand.c.
2001-01-31 19:09:48 +00:00
wtc%netscape.com
2d031feba0 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.
2001-01-31 18:27:15 +00:00
thayes%netscape.com
90779ce94b Reorganize password callback context (uses nsIInterfaceRequestor).
Fix several bugs in the SDR implementation.
2001-01-31 18:03:49 +00:00
wtc%netscape.com
586b10f4c5 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.
2001-01-31 18:01:53 +00:00
mcgreer%netscape.com
57379e33fe bug 67100, memory leaks in rsa.c and pqg.c fixed. 2001-01-31 15:49:19 +00:00
wtc%netscape.com
f3e44424d8 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.
2001-01-31 03:44:43 +00:00
wtc%netscape.com
218134872a 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.
2001-01-31 03:39:59 +00:00
nelsonb%netscape.com
e69cdb69fa Fix memory leak in mpp_make_prime. Bug 67094. 2001-01-31 00:37:40 +00:00
wtc%netscape.com
104ac36a8d 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
2001-01-30 21:02:28 +00:00
mcgreer%netscape.com
b0f6416250 change pk12util to use shared libs. 2001-01-30 19:49:52 +00:00
mcgreer%netscape.com
60a4d653fb export PKCS#12 symbols via the S/MIME DSO. Change default cipher list
to enable all available ciphersuites.
2001-01-30 19:47:39 +00:00
wtc%netscape.com
2a8e617b8b 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
2001-01-30 19:43:26 +00:00
wtc%netscape.com
a122eb5a2e Bugzilla bug #54989: Use the AIX -brtl linker option to link the NSS
utilities with NSPR shared libraries.  Reviewed by Bob Relyea.
2001-01-30 19:11:22 +00:00
javi%netscape.com
786ccd06ed Add first cut at exportable interfaces. 2001-01-30 18:34:22 +00:00
thayes%netscape.com
27fb180eb0 Initial versions of SDR. Doesn't do change/set password yet. 2001-01-30 02:47:43 +00:00
bryner%uiuc.edu
f0c96eafce Bug 66886 - parent PSM dialogs correctly. This fixes all of the cases in PSM2 and several cases in PSM1. r=javi,danm. sr=mscott. 2001-01-30 02:12:53 +00:00
wtc%netscape.com
2caddf43c1 Bugzilla bug #64306: added stubs for PR_SetError and PR_SetErrorText.
Reviewed by Nelson Bolyard.
2001-01-30 02:03:47 +00:00
wtc%netscape.com
ea7ef76a25 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.
2001-01-30 01:52:47 +00:00
mcgreer%netscape.com
d27b33644d handle leading zeroes in q bug (66558). suggested by nicolson; r=mcgreer,a=wtc 2001-01-29 14:24:57 +00:00
mcgreer%netscape.com
46aebc320c Per bug #66551, remove all HMAC_ calls from exported symbol list. All
HMAC_ functionality can be done the PKCS#11 interface.
2001-01-27 16:38:45 +00:00
mcgreer%netscape.com
673e033338 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
2001-01-27 16:34:27 +00:00
javi%netscape.com
7a179eb61d 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.
2001-01-27 00:45:42 +00:00
nelsonb%netscape.com
06f8df58de 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.
2001-01-27 00:36:15 +00:00
javi%netscape.com
3147e1efe0 Fix Win32 opt build bustage. 2001-01-26 18:55:34 +00:00
mcgreer%netscape.com
1f5e95bb36 thought I'd be cool and make it build with DSO's, but alas, need CERT_DecodeTrustString... 2001-01-26 16:45:46 +00:00
mcgreer%netscape.com
523c951da7 initial checkin of tool which converts CA certs into format for certdata.txt 2001-01-26 16:32:10 +00:00
relyea%netscape.com
5b76b8136a 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
2001-01-26 04:33:45 +00:00
nelsonb%netscape.com
86efe6a23a 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.
2001-01-26 03:24:05 +00:00
wtc%netscape.com
4ee5322b8d Bugzilla bug #63832: changed hardcoded 'gmake' to $(MAKE) in PSM makefiles.
Modified files: psm/Makefile, psm/lib/client/sample/Makefile,
psm/server/Makefile.
2001-01-25 21:48:33 +00:00
javi%netscape.com
eb5869e855 Part of patch for bug 64650 r=javi build psmmain.c in the project instead of main.c 2001-01-25 21:21:43 +00:00
javi%netscape.com
b46fadeacd Fix for Bug 64650
Give PSM suport for HP_UX
2001-01-25 21:08:59 +00:00
javi%netscape.com
30f850c289 Part of Fix for bug 64650
main.c becomes psmmain.c
2001-01-25 21:06:10 +00:00
javi%netscape.com
913211e0f1 Part of fix for Bug 64650 r=javi
Provided by jdunn to support HP-UX
2001-01-25 21:01:58 +00:00
javi%netscape.com
37a8a26f62 Add a c++ file that calls the main funciton in a C file. This is to
make some compilers that require programs linking in C++ libraries to
have main in a c++ file happy.
2001-01-25 20:59:35 +00:00
wtc%netscape.com
ef5aed7aaa Bugzilla bug #65416: assign values to enumeration constants in secutil.h
and nssilock.h explicitly.  Reviewed by Ian McGreer.
2001-01-25 19:05:50 +00:00
nelsonb%netscape.com
bbb9df0829 Detect failures of NSS_Init and report them.
This fixes bug 66244 for certutil (only).
2001-01-25 04:14:22 +00:00
wtc%netscape.com
58a4b87a75 Export the new function NSS_VersionCheck(). Reviewed by Nelson. 2001-01-25 02:43:48 +00:00
javi%netscape.com
ba74b722f9 Missed this file during my last check-in. 2001-01-25 01:21:27 +00:00
javi%netscape.com
63804c6677 Add Entropy collector support and the ability to load the root certificates
PKCS11 module
2001-01-25 01:14:23 +00:00
javi%netscape.com
54390f112c Add an entry for the name of the loadable root certs PKCS#11 module. 2001-01-24 19:28:11 +00:00
wtc%netscape.com
752be879db Bugzilla bug #66286: link libnss3.so with -R '$ORIGIN' on Solaris so that
it searches for libfreebl_*.so in the same directory where it resides.
As a result, libnss3.so, not libnspr4.so, must be the one calling dlopen,
so libnss3.so can't call PR_LoadLibraryWithFlags.
Modified files: lib/freebl/loader.c, lib/nss/config.mk
2001-01-24 05:26:19 +00:00
nelsonb%netscape.com
ad184460a8 Always detect failure of RNG_RNGInit(), which on Solaris and HPUX systems
typically signifies a failure to load the freebl DSO.  Fixes 66229.
r & a = wtc
2001-01-24 04:20:10 +00:00
javi%netscape.com
deab01007d Don't build cmd directory for mozilla builds. 2001-01-24 03:45:53 +00:00
sonmi%netscape.com
07415aa237 cleanup after testclient -q successfully connected before exiting 2001-01-23 05:01:24 +00:00
sonmi%netscape.com
22ebe36804 do_accept now ignores the PR_CONNECT_RESET_ERROR 2001-01-23 04:56:53 +00:00
javi%netscape.com
a09ab88e30 Replace all references to gmake with $(MAKE). 2001-01-23 04:06:37 +00:00
javi%netscape.com
63ee83e299 Bring forward some functionality from PSM classic used in initializing
SSL sockets.

Put in the skeleton for the bad cert callback.
2001-01-23 03:16:45 +00:00
sonmi%netscape.com
7c1970ee45 Since we have frozen the tip I only checked in high priority fixes.
The individual fixes:
1) A complete QA failure produces a readable email now
2) the nssqa has goes thru a central Exit
3) hanging processes under NT and Win2K are killed (tail -f)
4) Functionallity is implemented to kill other remaining processes (killpif file)
5) improved general cleanup in Exit functions
6) the header is sourced from the nssqa dir rateher than /u/sonmi/bin
7) Problems with QA being reported as passed even if missing fixed
8) Most problems with the "missing Platform list" fixed
9) One QA failure path (cd to a dir without permission) did not give
	errormessage about the reason of failure before
10) fixed html errors in generated email
11) stopped filtering the "bad password" cases as real failures (was fixed in
	nssqa a while ago, but still filtered
12) removing more tmp files from /tmp (decreased debugging)
2001-01-23 01:51:47 +00:00
sonmi%netscape.com
74241c3ef8 added information in the result.html when selfserver dies (previously
only in output.log)
2001-01-23 01:47:32 +00:00
mcgreer%netscape.com
deab71f885 add option for db prefix 2001-01-22 20:14:05 +00:00
mcgreer%netscape.com
655cf6e4ed dbprefix option added 2001-01-22 19:51:41 +00:00
wtc%netscape.com
cb0969a8ae 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
2001-01-22 17:16:47 +00:00
bryner%uiuc.edu
1b2e78a3eb Register the pipnss chrome on windows. r=javi. Not part of build. 2001-01-20 23:54:33 +00:00
jgmyers%netscape.com
94992953e2 fix capitalization 2001-01-19 22:39:29 +00:00
jgmyers%netscape.com
cd356bbb67 fix comment 2001-01-19 22:39:17 +00:00
relyea%netscape.com
9cd4ef8884 Follow Wan-Teh's suggesion of using typedef's for enums.
Follow the same style we use elsewhere for enums.
2001-01-19 07:57:18 +00:00
relyea%netscape.com
5d4fd03040 Incorporate Wan-Teh's suggestion of using a typdef for the enum.
Follow the same standard we use elsewhere for enums.
2001-01-19 07:56:06 +00:00
relyea%netscape.com
537ac247fa Bug 65903: Fixes to allow iWS admin stuff to work with shared library NSS
Add necessary exported symbols.
Fix bug in NSS_Initialize where we weren't passing the read only paramter
	through.
Add function to search for Certificate Lists so that Traverse does not need to
	be exposed.
Update pkcs11 names.
2001-01-19 07:53:54 +00:00
relyea%netscape.com
e5c3ee4f95 Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries 2001-01-19 07:51:12 +00:00
relyea%netscape.com
5f1c5255b8 Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries 2001-01-19 07:50:58 +00:00
relyea%netscape.com
8d180b0315 Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries 2001-01-19 07:50:16 +00:00
relyea%netscape.com
8d3882178a Fix Serial number searches by removing the DER tag.
Bug 65895.
2001-01-19 07:47:57 +00:00
nicolson%netscape.com
85c93d464c Only build archives, not .so's, at this level. 2001-01-19 02:23:47 +00:00
javi%netscape.com
b333ed6f48 Make windows build the pipnss.jar file. 2001-01-19 01:46:42 +00:00
bryner%uiuc.edu
f1a9df84d2 Oops, forgot jar.mn. 2001-01-19 01:12:42 +00:00
bryner%uiuc.edu
4e954931d3 PSM 2.0 work:
- Split nsISecureSocketInfo into nsISSLSocketControl and nsIChannelSecurityInfo.
- Incorporate lock icon fixes from psm-glue into pipnss code.
- Implement password callback for client auth in pipnss.
- Locallize the lock icon tooltip.
- Lots of code cleanup.

r=javi, jgmyers, sr=ben.
2001-01-19 01:12:10 +00:00
nicolson%netscape.com
e33e62887b moved libjss generation from cmd/jssjava to lib. 2001-01-19 00:14:25 +00:00
nicolson%netscape.com
14579089fc get stuff to build under mozilla. 2001-01-19 00:13:52 +00:00
nicolson%netscape.com
bd68395daa no more jssjava. 2001-01-19 00:11:31 +00:00
nicolson%netscape.com
d5754b6a13 remove all the old jssjava stuff. move everything else to
mozilla/security/jss/lib.
2001-01-19 00:11:12 +00:00
mcgreer%netscape.com
5f188b705a make blapitest return error codes so QA lights up correctly. Fix bug with DSA
self-test.  r=wtc
2001-01-18 21:45:47 +00:00
wtc%netscape.com
c33e0a8553 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
2001-01-18 20:29:10 +00:00
mcgreer%netscape.com
73586118bb fixes for prime generatation:
1.  Increase maximum tries to 600 (based on 2*(approx. frequency of 1024-bit primes))
2.  Lower the number of Miller-Rabin iterations for p and q based on HAC table 4.4
r=nelsonb,a=wtc
2001-01-18 16:39:10 +00:00
wtc%netscape.com
6f7422a77a Bugzilla bug #65416: assign values explicitly to enumeration constants.
The same values that the compiler would assign are assigned, with only
one exception (cmmfNoPKIStatus in cmmft.h).  This is patch id=22555,
reviewed by Nelson Bolyard.
2001-01-18 16:36:43 +00:00
nelsonb%netscape.com
fe9fa27179 When searching for a prime, the number of Miller-Rabin tests to be
performed will be done in accordance with a table published in the
Handbook of Applied Cryptography.  See Bug 65151.  Also, changes to
test program for this function.
2001-01-18 01:39:17 +00:00
sonmi%netscape.com
49a2766afc changed the stopQ conditionvariable to theadQ 2001-01-17 02:26:27 +00:00
jgmyers%netscape.com
1442b85c98 add .cvsignore 2001-01-17 02:24:04 +00:00
nicolson%netscape.com
7022353f18 remove export controls, and get things to build against NSS 3.1.1 under mozilla. 2001-01-16 23:49:57 +00:00
nicolson%netscape.com
8487361394 remove export controls. 2001-01-16 21:28:32 +00:00
nicolson%netscape.com
e97cf5f08f remove export controls 2001-01-16 21:28:09 +00:00
nicolson%netscape.com
2c533473b6 make JSS buildable. 2001-01-16 21:27:19 +00:00
nicolson%netscape.com
eadf70bda0 make JSS buildable 2001-01-16 21:26:33 +00:00
javi%netscape.com
623041bddc Add Win32 build support for PSM 2.0 2001-01-16 21:16:07 +00:00
nelsonb%netscape.com
edc48f136d Send SSL 3.x alert records when a version mismatch occurs.
Use the other party's version number to decide which alert to send.
Bug 65142.  R&A: relyea.
2001-01-13 02:32:39 +00:00
nelsonb%netscape.com
14c87961d5 Add implementation of SSL_RSA_WITH_RC4_128_SHA SSL3 cipher suite,
which is not enabled by default.  Bug 59795.
2001-01-13 02:05:15 +00:00
nelsonb%netscape.com
d5ae266115 Remove all vestiges of old pre-NSS socks client implementation from NSS.
Bug 51471.
2001-01-13 01:52:59 +00:00
nelsonb%netscape.com
59a40ba22f Suppress EOF messages unless running with -v. Bug 60879. 2001-01-13 00:55:30 +00:00
wtc%netscape.com
fee47a3083 Bugzilla bug #64650: set CC=cc explicitly so that we don't accidentally
pick up the CC setting in the environment.  This change is suggested by
Jim Dunn of Netscape.
2001-01-12 20:11:18 +00:00
wtc%netscape.com
d166bdddbd Bugzilla bug #64650: use +DAportable +DS2.0 in "pure 32" builds. This
was suggested by Jim Dunn of Netscape.  Reviewed by Nelson Bolyard.
2001-01-12 19:54:10 +00:00
mcgreer%netscape.com
addbd94893 take back export of NSS_CMSArray_Count 2001-01-12 18:38:31 +00:00
mcgreer%netscape.com
1bd1fe5b0b removing use of external NSS_CMSArray_Count 2001-01-12 18:37:41 +00:00
mcgreer%netscape.com
03f5d37be2 remove unspecified arg check (bug 65122) 2001-01-12 14:30:44 +00:00
mcgreer%netscape.com
3f0e83ae0c bug 64706
when prime generation step fails, retry up to a specified number of times
2001-01-12 14:29:47 +00:00
wtc%netscape.com
a674e530ea Added NSS_CMSArray_Count back to the exports list because
cmd/smimetools/cmsutil.c needs it.
2001-01-12 06:07:34 +00:00
sonmi%netscape.com
1212517fec added documentation on how to activate it when it is needed 2001-01-12 02:45:01 +00:00
sonmi%netscape.com
2d0c2744be new script, supposed to be started in the background by all.sh, to watch
for cores and rename them, so multiple corefiles can be saved
checked in during freeze but not activated yet
2001-01-12 02:00:28 +00:00
nelsonb%netscape.com
a6efa3c2c5 Save and restore %ebx register in all functions. Fixes bug 64940. 2001-01-12 01:37:02 +00:00
sonmi%netscape.com
94b0ea5983 now killing tail -f when done under MKS as well. 2001-01-12 00:18:32 +00:00
mcgreer%netscape.com
9f6b371648 prune list of exported symbols for s/mime library 2001-01-11 20:09:01 +00:00
sonmi%netscape.com
14b74a767a formated everything to a <tab4> format - still needs reformating to linelength 2001-01-11 01:55:23 +00:00
sonmi%netscape.com
672d2f9598 terminate now if no selfserver is running before attempting to start the
clients (with exception of the -q testclien)
2001-01-11 01:45:12 +00:00
javi%netscape.com
d3d2410479 Initial check-in of PIP (PSM 2.0)
Code almost entirely based on contribution
  from Brain Ryner (bryner@netscape.com)
2001-01-10 01:32:29 +00:00
javi%netscape.com
068b645980 Remove reference to obsolete define MACLINUX.
Fix for Bug 63936 r=wtc (For NSS trunk check-in)
2001-01-10 00:04:37 +00:00
mcgreer%netscape.com
91698770e4 back out previous change 2001-01-08 19:43:01 +00:00
mcgreer%netscape.com
c7c96f7f51 decoding nickname entries needs to include the nickname.
when searching for smime entry, verify subject is correct (can be multiple
subjects per email address)
2001-01-08 19:24:23 +00:00
nelsonb%netscape.com
729c505bf3 Changed HP assembler routine multacc512 in hpma512.s so that it
propagates carries exactly the same way that maxpy_little does.
Re-enabled use of multacc512 in mpi_hp.c.
2001-01-08 05:58:34 +00:00