Граф коммитов

1402 Коммитов

Автор SHA1 Сообщение Дата
nicolson%netscape.com 3e6f23f365 It needs to extend ServerSocket. 2001-03-10 01:56:57 +00:00
relyea%netscape.com ad13fd0467 CK_ULONG != unsigned int on 64 bit platforms. Fix the cast which was obviously
put in to remove a warning.

bug 70713
2001-03-10 01:35:17 +00:00
relyea%netscape.com 0847ad27c1 Fix AIX 64 bit tools failure. For some reason the 64 bit compilier didn't like
the massive switch statement. The new code is easier to read anyway now.
bug 70713
2001-03-10 01:34:08 +00:00
javi%netscape.com 926ce8a3b2 Commiting a patch provided by Markus Holmberg for FreeBSD 2001-03-10 01:33:39 +00:00
nicolson%netscape.com 017fc471e3 Leave in MSVCRTD, because it breaks the build on Sonja's machine. 2001-03-10 01:21:39 +00:00
nicolson%netscape.com 3c02789261 We need to set -DNSS_USE_STATIC_LIBS on NT because of some code in ssl.h. 2001-03-09 22:24:42 +00:00
nicolson%netscape.com 96c951e5f4 Fix compiler warning on NT by setting /NODEFAULTLIB:MSVCRTD. 2001-03-09 22:23:45 +00:00
nicolson%netscape.com 9591ae092c SSL changed its callback signatures to return SECStatus. 2001-03-09 21:35:51 +00:00
nicolson%netscape.com 69b536d47c Remove libsectool. 2001-03-09 21:35:02 +00:00
thayes%netscape.com da7b95e532 Remove CR chars 2001-03-09 02:19:19 +00:00
thayes%netscape.com 82c333d724 Changes filenames of preference content to be consistent with
Mozilla conventions.
Add autostretch="never" to prevent expansion of checkboxes in pref
panels
2001-03-09 01:13:46 +00:00
thayes%netscape.com 7c537fbbb5 Bug 71323: set MOZILLA_CLIENT when building in client make environment 2001-03-09 01:08:44 +00:00
thayes%netscape.com ace98b9545 Bug 71323: Add dist/include to include path for MOZILLA_CLIENT builds
r=relyea
2001-03-09 01:04:04 +00:00
javi%netscape.com 3614db2517 Call the get method for string classes. Brings us up to date with the
trunk of mozilla and their string class update landing.
2001-03-08 23:19:27 +00:00
javi%netscape.com bc75c4e9fe Update our use of strings to call their get methods bringing us up
to date with the trunk of mozilla.
2001-03-08 23:15:18 +00:00
bryner%uiuc.edu e36e4cf040 Fixing non-debug builds. Not part of build. 2001-03-08 06:01:29 +00:00
mcgreer%netscape.com 382b0089f5 add missing license text 2001-03-07 19:56:50 +00:00
mcgreer%netscape.com de6007d97a preliminary checkin of certificate manager 2001-03-07 19:24:12 +00:00
relyea%netscape.com 2913a96ffe Bug 70657 . Old CERT DB doesn't always get closed after migration. 2001-03-07 17:34:44 +00:00
relyea%netscape.com 94ddb7f99c Fix Bug 70441 where ava fields with one or two characters are not formatted properly. 2001-03-07 17:31:53 +00:00
javi%netscape.com 6c2fa5af6a Make the pref dialog call a JS function to open up
the certificate manager.

Also put all the localizable strings into dtd and properties
files.
2001-03-07 02:17:00 +00:00
bryner%uiuc.edu d49acaf06d Use user prefs for determining whether to enable SSL2/SSL3/TLS. Also, remove now-unused pref service stuff from nsSecureBrowserUIImpl. r=javi. 2001-03-06 22:07:26 +00:00
nicolson%netscape.com 47d0d3fc31 Replaced javadoc in new SSL classes.
A couple of API tweaks.
2001-03-06 08:49:37 +00:00
nicolson%netscape.com f05f95c615 Rename misnamed ssl methods. 2001-03-06 08:48:03 +00:00
bryner%uiuc.edu 3f9323934e Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. 2001-03-06 05:10:33 +00:00
thayes%netscape.com 2d6f324f2a Add pageInfo overlay to for displaying security information 2001-03-05 19:40:39 +00:00
bryner%uiuc.edu 9eff40f96b Set SUBMAKEFILES so that the Makefile auto-update rule is used; otherwise a clean build fails because the Makefiles don't get generated. 2001-03-05 03:51:58 +00:00
javi%netscape.com bbc31af3f6 Fix win32 build bustage. 2001-03-05 00:26:21 +00:00
javi%netscape.com 313c0a5710 Enable developers to build PSM 2.0 in win32 platforms.
Bug 70368 patch provided by leaf, r=javi, sr=cls
2001-03-04 23:05:45 +00:00
javi%netscape.com 87d73ff9c3 Allow developers to build PSM 2.0 on Unix.
Fix for Bug 70343 sr=cls
2001-03-04 22:55:18 +00:00
javi%netscape.com df52444be3 Touch Makefile.in so that dynamic Makefiles get generated. 2001-03-03 01:59:36 +00:00
sonmi%netscape.com 48ccd7dcac fixed a typo in an echo 2001-03-03 01:59:29 +00:00
nicolson%netscape.com 337636fdef Get rid of unnecessary heapsize option. 2001-03-03 00:36:17 +00:00
sonmi%netscape.com 5b49528d04 fix for bug 69582, empty scripts due to a full /tmp cause programms to
bahave wrong - instead of generating temorary scripts the input comes directly
from this script, redirected via <<
2001-03-03 00:14:17 +00:00
sonmi%netscape.com f5556b7f60 added fix fo bug 69588 - QA failure not recognized - now a certain #
of passes is reqiired, otherwise an incomplete line is generated
if more tests than expected a warning is issued in the text scetion
2001-03-02 23:37:21 +00:00
nicolson%netscape.com 5635406144 Shift around native methods in SSL package. 2001-03-02 04:38:33 +00:00
nicolson%netscape.com efdaeffd56 Add the last of the methods to SSLServerSocket for backward compatibility.
Split out common functionality into SocketBase (not the same as SocketImpl!).
2001-03-02 04:38:14 +00:00
nelsonb%netscape.com ca6b48b951 Use $TMP, $TMPDIR, or $TEMP for directory to hold server SID cache file.
Implements RFE 70617.
2001-03-02 02:52:21 +00:00
javi%netscape.com 3929b113a3 Give the nsNSSCertDB class a virtual destructor.
Gets rid of a warning on Linux.
2001-03-02 01:37:11 +00:00
javi%netscape.com 7bd4201c24 Add a -C lib to the gmake line to prevent nmake from getting
confused.
2001-03-01 22:54:10 +00:00
javi%netscape.com d666dc6539 Checking in some logging functionality I wrote to help debugging on the Mac. 2001-03-01 22:33:32 +00:00
javi%netscape.com 1f58f3ea7e Remove extra reference to ssl.lib 2001-03-01 22:31:11 +00:00
kirke%netscape.com 159cc26f44 Bug 69582 endless loop on EOF reading Extensions 2001-03-01 21:45:33 +00:00
sonmi%netscape.com 2b1b11c28f tools tests activated 2001-03-01 19:48:52 +00:00
javi%netscape.com 9427e49fd6 Remove bogus statements that were used upon a time to help in debuggin. 2001-03-01 07:33:02 +00:00
bryner%uiuc.edu 816543da05 First cut at SSL proxy support. r=ddrinan. 2001-03-01 02:04:35 +00:00
relyea%netscape.com 0761f75039 change '-p' to '-P' to be consistant with other tools. 2001-03-01 01:21:56 +00:00
sonmi%netscape.com 45cfbc582d was still running ksh 2001-03-01 00:43:24 +00:00
sonmi%netscape.com e27794dd1a restructuring of NSS QA 2001-03-01 00:40:38 +00:00
sonmi%netscape.com bdec8e9305 restructuring of NSS QA 2001-02-28 23:35:21 +00:00
nelsonb%netscape.com 10d9a28bfe Increase the temp cert db's memory buffer size from 64KB to 256KB.
This reduces the liklihood that it will overflow into a disk file.
This is a partial fix for bug 67953.
2001-02-28 22:50:12 +00:00
sonmi%netscape.com c0db04e682 complete restructuring and cleanup of the QA suites.
bug 65000 and 68878
2001-02-28 22:12:47 +00:00
javi%netscape.com 51b0dae9bc Make Makefile.in more recent than static Makefile 2001-02-28 18:11:18 +00:00
javi%netscape.com db7bf5612b Resurrected the incorrect version earlier. Bringing back the
version that existed before removing.
2001-02-28 18:10:29 +00:00
relyea%netscape.com b480c3ca9d On NT, it looks like isatty doesn't always work. Since we always use stdin for this use
that test instead.
2001-02-28 01:58:02 +00:00
relyea%netscape.com 692435d36e Finish WinNT changes. 2001-02-28 01:57:08 +00:00
relyea%netscape.com 940c7a0a59 Add '-p' to specify a dbprefix.
Move the Tempfile created on input to /tmp so the code works in directories
that aren't writeable.
Fix the code to remove the Tempfile when done.
Use SECU_ConfigureDir so that we get the same defaultdb as other tools.
2001-02-28 01:21:11 +00:00
javi%netscape.com 2955cf1872 Adding white space so that Makefile.in appears newer than static
Makefile to autoconf guaranteeing dynamic Makefile's are created.
2001-02-27 23:00:59 +00:00
javi%netscape.com 59981f3f7f Make a diff so the Makefile.in is newer than static Makefile forcing
autoconf to always generate a new Makefile.
2001-02-27 22:37:42 +00:00
javi%netscape.com aaa29f8ba1 Resurrect old coreconf Makefiles which are actually still need by
windows builds.
2001-02-27 22:36:50 +00:00
javi%netscape.com 8f6b2117b3 Merge the changes from NSS_CLIENT_TAG onto trunk. 2001-02-27 21:43:33 +00:00
javi%netscape.com 6cc083fa7e Remove coreconf specific Makefiles that conflict with client
builds and are no longer used.
2001-02-27 19:48:01 +00:00
mcgreer%netscape.com d8898f19d0 Add support for CA cert downloading, including UI. 2001-02-26 21:50:54 +00:00
javi%netscape.com aafbc7b0de Implement the SSL dialog warnings for Domain Mismatch and
server cert expired.
2001-02-24 00:20:32 +00:00
nicolson%netscape.com 134e24a928 Elimintate some JDK 1.2isms so that we are still JDK1.1 compatible. 2001-02-23 23:30:08 +00:00
nicolson%netscape.com 7537d650c6 add additional include path under AIX. 2001-02-23 23:29:34 +00:00
nicolson%netscape.com ad437013f9 When creating the mapfile, we need to create OBJDIR first if it
doesn't already exist.
2001-02-23 22:45:29 +00:00
sonmi%netscape.com 8db5b3dac1 improvements, bugfixes, intermediate checkin before trying to make
everything run in . and relative paths to also work on cygnus
not yet activated
2001-02-23 02:23:05 +00:00
mcgreer%netscape.com d7755b6106 fix for #63982, -o not using file password 2001-02-22 23:35:17 +00:00
relyea%netscape.com 08e929bc67 Fix mismatched parameter problem. 2001-02-22 18:27:28 +00:00
nicolson%netscape.com 0336751322 update version names and numbers. 2001-02-22 06:20:44 +00:00
nicolson%netscape.com 8d3d9b6a8a Add build flags for other unix platforms. These were copied and pasted
out of NSS's config.mk.
2001-02-22 06:16:41 +00:00
nicolson%netscape.com fab7ac70c5 Symbol map for creating the JSS DLL. 2001-02-22 06:14:31 +00:00
jgmyers%netscape.com bd58a65f2e override Available method needed for dougt landing r=javi 2001-02-22 03:03:17 +00:00
jgmyers%netscape.com 0f33db2d18 reapply bryner's fixes for dougt landing. Not part of build. r=javi 2001-02-22 01:42:12 +00:00
sonmi%netscape.com 54b3de2939 new script to do the certificate portion of the nss QA 2001-02-21 23:56:14 +00:00
relyea%netscape.com 57d6fbd96a Fix bug 69471 and bug 69472 : Memory leak in PK11_VerifyMechanisms and incorrectly
calling EnterSlotMonitor rather than ExitSlotMonitor on an error condition.

bob
2001-02-21 22:22:33 +00:00
relyea%netscape.com fb457cf8db Leave a reference to the static version strings so agressive linkers linkers
like AIS won't optimize the id strings away.
2001-02-21 22:18:42 +00:00
relyea%netscape.com ba5f7afec9 Add wrapper bindings for AES so S/MIME and SSL may implement their AES suites. 2001-02-21 19:52:12 +00:00
sonmi%netscape.com c3f3caf4f8 added a function to watch for hanging rsh processes, if an rsh does not
return for 60 seconds it will be killed
2001-02-21 01:53:00 +00:00
sonmi%netscape.com 26b03e4982 test choked on a ]# - replaced by ] # 2001-02-20 23:11:55 +00:00
sonmi%netscape.com eaf88f3991 formatted to tabstop 8 2001-02-20 22:00:50 +00:00
sonmi%netscape.com 43d51263ca formated to tabstop 8 2001-02-20 21:55:47 +00:00
sonmi%netscape.com b6aef2269e deleted comments, formated with tabstop 8 2001-02-20 21:53:52 +00:00
sonmi%netscape.com aff885de0b formatted according to the nss tab 8 rules 2001-02-20 21:49:30 +00:00
nicolson%netscape.com 6038a5536a Get everything building and linking on WINNT. 2001-02-20 05:38:45 +00:00
nicolson%netscape.com ccc012b03a Use ' instead of " for classpath. 2001-02-20 05:37:43 +00:00
nicolson%netscape.com fb8252a193 Remove cdbhdl.h, which is now a private export. Instead we cut and paste
its contents into our file.
2001-02-20 00:13:45 +00:00
nicolson%netscape.com da0411e3a0 add method for setting cipher policy. 2001-02-19 18:29:49 +00:00
nicolson%netscape.com 7a241f2c34 Tweak library rules for WINNT 2001-02-19 18:28:55 +00:00
javi%netscape.com 3945c70373 Add nsNSSCertificate.cpp to the Mac build. 2001-02-17 20:25:42 +00:00
javi%netscape.com c86548a68e Make the new server cert dialog for SSL warning work. 2001-02-16 22:17:52 +00:00
nicolson%netscape.com c3b7189c5d Make server-side SSL work. Put common code in common.c. 2001-02-15 05:46:33 +00:00
nicolson%netscape.com 36c64fe1cf make it build better. 2001-02-15 05:44:28 +00:00
thayes%netscape.com 25a75ba995 Add preferences for security/ssl 2001-02-15 03:42:30 +00:00
javi%netscape.com fd25e6126b Update version number for PSM 2001-02-15 00:39:38 +00:00
javi%netscape.com 412c1a9080 Update protocol version string. 2001-02-15 00:38:51 +00:00
mcgreer%netscape.com c7ccbde27d configure PKCS#11 strings in PSM.
r=javi
2001-02-14 22:15:53 +00:00
thayes%netscape.com 877fc2b728 Add MPL license text. 2001-02-14 20:11:25 +00:00
thayes%netscape.com 8f88244311 Change initialization of NSSDialog object 2001-02-14 20:10:00 +00:00
thayes%netscape.com ca79b59d74 Implement nsISecurityWarningDialogs in the NSSDialogs object. 2001-02-14 20:09:33 +00:00
thayes%netscape.com 23289ed4d2 Use NSSDialogs service to implement security warning dialogs. 2001-02-14 20:00:01 +00:00
thayes%netscape.com 44e134423d Define new SecurityWarningDialogs interface 2001-02-14 19:58:21 +00:00
javi%netscape.com 2726eab4bd 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 99bf1439f5 Checking in the patch that gets Carbon builds working for PSM 1.x 2001-02-13 22:44:51 +00:00
javi%netscape.com 78c92ae7c3 Remove all ^M characters 2001-02-13 00:27:27 +00:00
bryner%uiuc.edu 7eec6ef6b5 Backing out dougt's channel changes. 2001-02-12 03:20:46 +00:00
javi%netscape.com b4374b8c59 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 4683cee5b6 fill out SSLSocket with more methods. 2001-02-10 02:49:33 +00:00
bryner%uiuc.edu 36090059f3 Catching up with dougt's necko changes. r=javi. 2001-02-10 02:29:46 +00:00
relyea%netscape.com ff2f4a54bf 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 fc4874ebfb 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 70fccf2bc5 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 3f8a617125 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 9cc5c6affa Export the JavaVM so we can access it from SSL callbacks. 2001-02-09 21:47:29 +00:00
nicolson%netscape.com cb7b4356b7 remove /s/b/c/ from jdk.mk. To Netscape-chauvinistic. 2001-02-09 21:25:50 +00:00
bryner%uiuc.edu 32b0cfce14 Fixing compile for tip NSS. r=javi. Not part of build. 2001-02-09 20:17:05 +00:00
nicolson%netscape.com f838e1446e some new utilities for the SSL code. 2001-02-09 11:28:01 +00:00
nicolson%netscape.com 84a7fa4e5c build ssl now. 2001-02-09 11:27:13 +00:00
nicolson%netscape.com 5a4f124cf0 remove libfort, add lib jssssl. 2001-02-09 11:26:48 +00:00
nicolson%netscape.com 999896c8c2 Checkin new SSL code. SSLClient test works. 2001-02-09 11:26:34 +00:00
nelsonb%netscape.com 4a2c9e4a11 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 12a741c063 Clean up the NSS initialization code including loading of Root Cert module. 2001-02-09 01:56:29 +00:00
relyea%netscape.com 3c0225715a 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 1bf4c3e664 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 925aa99e3d Move cdbhdl.h to private exports. bug 64260 revied by nelsonb. 2001-02-09 01:32:42 +00:00
nelsonb%netscape.com e3a2bbc42f 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 b63a17a085 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 c7a5d8fde6 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 9a05df8191 First Checked In. 2001-02-08 02:25:25 +00:00
nelsonb%netscape.com b479e91c24 Changes suggested by Wan-Teh. 2001-02-08 01:32:32 +00:00
wtc%netscape.com b8f23fb964 Set NSS version to 3.2. 2001-02-08 01:22:01 +00:00
javi%netscape.com 74a102349f First Checked In. 2001-02-08 00:41:58 +00:00
javi%netscape.com bee191d8d9 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 67ba7fc1e0 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 90b55a22a3 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 4e2755d645 Fix compiler warnings/failures on Linus/Mac 2001-02-07 23:38:59 +00:00
wtc%netscape.com 249e5d9801 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 86c5db2a5b Cleaning up indenting. Not part of build. 2001-02-07 23:07:56 +00:00
javi%netscape.com 888048f7a3 Final patch for Bug 6856. OS/2 port for PSM. 2001-02-07 21:05:21 +00:00
thayes%netscape.com 13c16fe82c Add PIPPKI module to UNIX builds 2001-02-07 19:53:41 +00:00
wtc%netscape.com 72644ebadf 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 eed484f9fc 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 ad09a3250e Create DTD for pippki module 2001-02-07 18:51:23 +00:00
wtc%netscape.com 9621614a58 Need to include "prthread.h" for the PRThread type. 2001-02-07 17:50:43 +00:00
thayes%netscape.com 3f9afc714d Fix incorrect module name on chrome URL 2001-02-07 17:35:40 +00:00
nelsonb%netscape.com 98da57cc81 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 df7089bf47 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 6bba913849 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 c540f06d84 Create PKI module for implementation of callback
functions for user interaction.
2001-02-07 01:25:16 +00:00