Commit Graph

1438 Commits

Author SHA1 Message Date
javi%netscape.com
7b26537001 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
86cf469639 Fixing non-debug builds. Not part of build. 2001-03-08 06:01:29 +00:00
mcgreer%netscape.com
50c5c0d0c9 add missing license text 2001-03-07 19:56:50 +00:00
mcgreer%netscape.com
33891979ac preliminary checkin of certificate manager 2001-03-07 19:24:12 +00:00
relyea%netscape.com
75275b086f Bug 70657 . Old CERT DB doesn't always get closed after migration. 2001-03-07 17:34:44 +00:00
relyea%netscape.com
6e3e253b55 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
c7090f7289 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
9b4cb2b2d8 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
3eac97f0d8 Replaced javadoc in new SSL classes.
A couple of API tweaks.
2001-03-06 08:49:37 +00:00
nicolson%netscape.com
6faab38328 Rename misnamed ssl methods. 2001-03-06 08:48:03 +00:00
bryner%uiuc.edu
8b80c7c363 Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. 2001-03-06 05:10:33 +00:00
thayes%netscape.com
6a52ca019c Add pageInfo overlay to for displaying security information 2001-03-05 19:40:39 +00:00
bryner%uiuc.edu
5609390d4a 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
dc3872b3b2 Fix win32 build bustage. 2001-03-05 00:26:21 +00:00
javi%netscape.com
a70a5f3aac 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
64187b0406 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
1e92fab712 Touch Makefile.in so that dynamic Makefiles get generated. 2001-03-03 01:59:36 +00:00
sonmi%netscape.com
bed15077e8 fixed a typo in an echo 2001-03-03 01:59:29 +00:00
nicolson%netscape.com
c0e56d14ad Get rid of unnecessary heapsize option. 2001-03-03 00:36:17 +00:00
sonmi%netscape.com
76ed4ee73c 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
6b28b0ebd9 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
3c4d88040d Shift around native methods in SSL package. 2001-03-02 04:38:33 +00:00
nicolson%netscape.com
24e154d544 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
e42af5fa30 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
ab0e09d117 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
199f51be6f 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
847bf29448 Checking in some logging functionality I wrote to help debugging on the Mac. 2001-03-01 22:33:32 +00:00
javi%netscape.com
1183ba2c15 Remove extra reference to ssl.lib 2001-03-01 22:31:11 +00:00
kirke%netscape.com
f0fde27571 Bug 69582 endless loop on EOF reading Extensions 2001-03-01 21:45:33 +00:00
sonmi%netscape.com
8c56e52ac3 tools tests activated 2001-03-01 19:48:52 +00:00
javi%netscape.com
dd775ef7b0 Remove bogus statements that were used upon a time to help in debuggin. 2001-03-01 07:33:02 +00:00
bryner%uiuc.edu
c389849fbd First cut at SSL proxy support. r=ddrinan. 2001-03-01 02:04:35 +00:00
relyea%netscape.com
9d01803642 change '-p' to '-P' to be consistant with other tools. 2001-03-01 01:21:56 +00:00
sonmi%netscape.com
1effa6fb8f was still running ksh 2001-03-01 00:43:24 +00:00
sonmi%netscape.com
e82d67c3ce restructuring of NSS QA 2001-03-01 00:40:38 +00:00
sonmi%netscape.com
a5f4cb28ec restructuring of NSS QA 2001-02-28 23:35:21 +00:00
nelsonb%netscape.com
36f08d78d2 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
1ae750085c complete restructuring and cleanup of the QA suites.
bug 65000 and 68878
2001-02-28 22:12:47 +00:00
javi%netscape.com
079e817a38 Make Makefile.in more recent than static Makefile 2001-02-28 18:11:18 +00:00
javi%netscape.com
321a0597c9 Resurrected the incorrect version earlier. Bringing back the
version that existed before removing.
2001-02-28 18:10:29 +00:00
relyea%netscape.com
4c010838b2 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
a1f1e67e84 Finish WinNT changes. 2001-02-28 01:57:08 +00:00
relyea%netscape.com
c2baea888a 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
6d93c5c8ea 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
85cbe73057 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
c202d366a5 Resurrect old coreconf Makefiles which are actually still need by
windows builds.
2001-02-27 22:36:50 +00:00
javi%netscape.com
eed9cb7afe Merge the changes from NSS_CLIENT_TAG onto trunk. 2001-02-27 21:43:33 +00:00
javi%netscape.com
f0ea714390 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
fc9a858036 Add support for CA cert downloading, including UI. 2001-02-26 21:50:54 +00:00
javi%netscape.com
147e289d6f Implement the SSL dialog warnings for Domain Mismatch and
server cert expired.
2001-02-24 00:20:32 +00:00
nicolson%netscape.com
00c7c0a528 Elimintate some JDK 1.2isms so that we are still JDK1.1 compatible. 2001-02-23 23:30:08 +00:00
nicolson%netscape.com
25d1d20a81 add additional include path under AIX. 2001-02-23 23:29:34 +00:00
nicolson%netscape.com
7c97d4ab6f 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
777a319b9d 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
7a923cca51 fix for #63982, -o not using file password 2001-02-22 23:35:17 +00:00
relyea%netscape.com
34316080bc Fix mismatched parameter problem. 2001-02-22 18:27:28 +00:00
nicolson%netscape.com
db2edec39a update version names and numbers. 2001-02-22 06:20:44 +00:00
nicolson%netscape.com
01cd817235 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
1dc64f52fd Symbol map for creating the JSS DLL. 2001-02-22 06:14:31 +00:00
jgmyers%netscape.com
a9cc6bcc3c override Available method needed for dougt landing r=javi 2001-02-22 03:03:17 +00:00
jgmyers%netscape.com
bb6f3a1f6a reapply bryner's fixes for dougt landing. Not part of build. r=javi 2001-02-22 01:42:12 +00:00
sonmi%netscape.com
398b270c48 new script to do the certificate portion of the nss QA 2001-02-21 23:56:14 +00:00
relyea%netscape.com
bc28489209 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
2293bbf9d7 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
6e2d9268f5 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
2f51414a3f 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
4bab82b1f7 test choked on a ]# - replaced by ] # 2001-02-20 23:11:55 +00:00
sonmi%netscape.com
7182d1fa38 formatted to tabstop 8 2001-02-20 22:00:50 +00:00
sonmi%netscape.com
e5449804e3 formated to tabstop 8 2001-02-20 21:55:47 +00:00
sonmi%netscape.com
967a27a3cc deleted comments, formated with tabstop 8 2001-02-20 21:53:52 +00:00
sonmi%netscape.com
d56d55b69b formatted according to the nss tab 8 rules 2001-02-20 21:49:30 +00:00
nicolson%netscape.com
916b43ba2c Get everything building and linking on WINNT. 2001-02-20 05:38:45 +00:00
nicolson%netscape.com
0917ac5c28 Use ' instead of " for classpath. 2001-02-20 05:37:43 +00:00
nicolson%netscape.com
5ca7c290b7 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
a7ec7bfda5 add method for setting cipher policy. 2001-02-19 18:29:49 +00:00
nicolson%netscape.com
d5979e5bf1 Tweak library rules for WINNT 2001-02-19 18:28:55 +00:00
javi%netscape.com
dac286f17e Add nsNSSCertificate.cpp to the Mac build. 2001-02-17 20:25:42 +00:00
javi%netscape.com
fd5d0bcad4 Make the new server cert dialog for SSL warning work. 2001-02-16 22:17:52 +00:00
nicolson%netscape.com
60d1142a0d Make server-side SSL work. Put common code in common.c. 2001-02-15 05:46:33 +00:00
nicolson%netscape.com
418c168bd1 make it build better. 2001-02-15 05:44:28 +00:00
thayes%netscape.com
fa34df002e Add preferences for security/ssl 2001-02-15 03:42:30 +00:00
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