Commit Graph

1197 Commits

Author SHA1 Message Date
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