Commit Graph

1438 Commits

Author SHA1 Message Date
javi%netscape.com
87e2740d37 Fix Linux build bustage. 2001-03-21 01:27:04 +00:00
javi%netscape.com
f447f56e2b Make p12 build on the Mac. Make p12 initialize the key db if it hasn't been initialized. 2001-03-21 00:57:46 +00:00
bryner%uiuc.edu
faeceebf97 Fixing bustage from string changes. Not part of build. 2001-03-20 22:41:35 +00:00
mcgreer%netscape.com
444b53c299 make the cert name show up in the edit window 2001-03-20 18:32:04 +00:00
mcgreer%netscape.com
d1493d111e stuff for cert manager
* PKCS#12 backup and restore
* editing cert trust
* more detail for view cert (UI to change later)
* temporary token login
2001-03-20 18:00:44 +00:00
bryner%uiuc.edu
85b947fc08 Syncing to jag's string changes to fix build bustage. r=jag. 2001-03-20 07:46:37 +00:00
bryner%uiuc.edu
7830deafd9 Patch from jag to sync with new string changes. r=me. 2001-03-20 06:09:00 +00:00
nelsonb%netscape.com
cc91679cd9 Add function SECU_PrintBuf() which prints a buffer in hex and ASCII. 2001-03-20 04:23:38 +00:00
nelsonb%netscape.com
3ef58c1b72 Fix bug in SSL_ResetHandshake introduced in last checkin. 2001-03-20 00:39:02 +00:00
javi%netscape.com
6dd2b6520f Make a better contract ID for the pk11 token db. 2001-03-19 23:09:28 +00:00
javi%netscape.com
5e88efda34 Add new sources from freebl to the Mac project. 2001-03-19 19:06:42 +00:00
javi%netscape.com
902c51c0bc ccarlen says we don't have to bump the refCnt when adding the observer. 2001-03-19 18:30:25 +00:00
nelsonb%netscape.com
46c15355d3 Reinterpret the READ and WRITE poll flags depending on the state of the
socket and the SSL handshake.  Rename the badly named "connected" flag.
Bugzilla bugs 56924, 56926, 66706.
Modified Files:
    ssl3con.c sslauth.c sslcon.c ssldef.c sslgathr.c sslimpl.h
    sslsecur.c sslsock.c
2001-03-16 23:26:06 +00:00
javi%netscape.com
7c35b57982 Make clean builds work. Do this by removing the sub-class of
nsIDialogParamBlock in nsIPKIParamBlock.  Everywhere we want
to have bot nsIDialogParamBlock and nsIPKIParamBlock we do
QueryInterface to get a pointer to the right interface.
2001-03-15 03:06:47 +00:00
nelsonb%netscape.com
a6ff2f9594 Build changes for Solaris and gcc. Get gcc to use the proper architecture
flags when building v8plus code on Solaris/Ultrasparc.  Use gcc instead of
ld to build the freebl DSOs when using gcc on Solaris.  And stop using the
"sparkfix" program on Solaris.  It is no longer needed.  Bug 69052.
2001-03-14 23:30:37 +00:00
thayes%netscape.com
4dff9a076a Add -DNSS_USE_STATIC_LIBS to get correct linkage against static version
of NSS libraries.
2001-03-14 22:33:08 +00:00
relyea%netscape.com
81bc3e2f3d Make the nss_build_all target work on NT. 2001-03-14 19:12:30 +00:00
javi%netscape.com
edf7e1032b Fix for Bug 71889 Null out secmodname during NSS_Shutdown so that a later call to NSS_Init succesfully initializes the SECMOD libraries. Also, free the memory allocated to allocated the name of the keydb and remove an unused local variable. 2001-03-14 18:58:14 +00:00
relyea%netscape.com
985011a4d9 Add code to all the nss pre-reqs with a single target. 2001-03-14 18:08:25 +00:00
javi%netscape.com
d07f0ac0cc Fully support profile swtiching in PSM 2.0 2001-03-14 00:03:23 +00:00
javi%netscape.com
93a5700527 Didn't mean to enable the logging by default. 2001-03-13 23:47:12 +00:00
javi%netscape.com
a7d426e55b Fix build bustage. 2001-03-13 22:24:58 +00:00
javi%netscape.com
a3076fad96 The macro for PROFILE_BEFORE_CHANGE_TOPIC doesn't seem to be around
anymore.
2001-03-13 22:15:05 +00:00
javi%netscape.com
0e64d43520 First cut at profile switching for PSM 2.0
This will shut down NSS, but doesn't actively re-initialize NSS
with the new profile info.
2001-03-13 21:50:23 +00:00
mcgreer%netscape.com
461525bb99 A bunch more cert UI, all the buttons are in (just need to be coded :) 2001-03-13 19:36:52 +00:00
relyea%netscape.com
b22a7c1f09 bug 70992 patches to build 4.2 BSD 2001-03-13 19:02:05 +00:00
relyea%netscape.com
a833509dcc bug 70992 patches to build 4.2 BSD. 2001-03-13 19:00:52 +00:00
mcgreer%netscape.com
07554215c8 more cert manager functionality
* list mine and websites certs
* show cert chain in view cert
* show O and OU in view cert
2001-03-13 16:20:54 +00:00
javi%netscape.com
715108ef2b Make the Mac build PSM 2.0 again. 2001-03-13 00:22:26 +00:00
relyea%netscape.com
a23285e902 DES key gens need to fall through to set the rest of their attributes
(remove spurious break). S/MIME should function again after this.
2001-03-13 00:04:51 +00:00
javi%netscape.com
721ae99720 Pass interfaces to certs to the SSL dialogs through the new
nsIPKIParamBlock interface.

Clean up some inconsistencies in nsPKIParamBlock implementation.
2001-03-12 23:59:48 +00:00
javi%netscape.com
eab7122621 Add the ref in the same method that release the reference.
Avoids leaking nsNSSCertificate classes in cases where multiple errors
are found with a cert.
2001-03-12 23:47:21 +00:00
nelsonb%netscape.com
53a71d2802 Makefiles to build mozilla/dbm sources with coreconf in
mozilla/security/dbm/.
2001-03-12 22:06:14 +00:00
javi%netscape.com
f6e9cc67dc Create our param block that allows us to pass nsISupport references to
dialogs and clean up a little bit of the UI.
2001-03-10 03:09:20 +00:00
javi%netscape.com
0372162f0b Add our own param block that allows us to pass references to
XPCOM objects to dialogs.
2001-03-10 02:45:24 +00:00
javi%netscape.com
f52bffdcc6 No longer need to special the DIST variable when MOZILLA_CLIENT is
defined.
2001-03-10 01:59:59 +00:00
nicolson%netscape.com
92346678ce It needs to extend ServerSocket. 2001-03-10 01:56:57 +00:00
relyea%netscape.com
37306c1267 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
9d9fb5174d 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
cd16b81ceb Commiting a patch provided by Markus Holmberg for FreeBSD 2001-03-10 01:33:39 +00:00
nicolson%netscape.com
fb41b8c8d6 Leave in MSVCRTD, because it breaks the build on Sonja's machine. 2001-03-10 01:21:39 +00:00
nicolson%netscape.com
2093ef5077 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
6e36a732d9 Fix compiler warning on NT by setting /NODEFAULTLIB:MSVCRTD. 2001-03-09 22:23:45 +00:00
nicolson%netscape.com
1b2b4cd997 SSL changed its callback signatures to return SECStatus. 2001-03-09 21:35:51 +00:00
nicolson%netscape.com
2747bd30a0 Remove libsectool. 2001-03-09 21:35:02 +00:00
thayes%netscape.com
1aa0c207a7 Remove CR chars 2001-03-09 02:19:19 +00:00
thayes%netscape.com
72d0e0eaf1 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
e4cd41a92c Bug 71323: set MOZILLA_CLIENT when building in client make environment 2001-03-09 01:08:44 +00:00
thayes%netscape.com
e517381412 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
39041ea9d5 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
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