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

1716 Коммитов

Автор SHA1 Сообщение Дата
bryner%uiuc.edu aa3827b6a1 Don't use the NSS coreconf hackery if we are building with MOZ_NSS_AUTOCONF. r=cls. Not part of the build. 2001-04-11 09:12:20 +00:00
bryner%uiuc.edu 275bbbd9d6 FreeBSD now uses $(OS_TARGET).mk. Patch from markush@acc.umu.se, r=bryner. 2001-04-11 03:26:10 +00:00
bryner%uiuc.edu bb5f40a644 No longer needed. 2001-04-11 03:17:45 +00:00
bryner%uiuc.edu 32ceecb739 Use FreeBSD.mk for all FreeBSD versions. Patch from markush@acc.umu.se, r=nelsonb. 2001-04-11 03:12:42 +00:00
nelsonb%netscape.com 9ee8d78f1c Implementation of 5 DHE ciphersuites, client side only.
Contributed by Dr Stephen Henson <stephen.henson@gemplus.com>
2001-04-11 00:29:18 +00:00
javi%netscape.com f11cf842e9 Makefile clean-up.
Build against trunk of coreconf using new mechanism for adding includes.
2001-04-11 00:11:47 +00:00
sonmi%netscape.com 53eedbbb53 fixed an sed command toi get process ID of tail -f on NT 2001-04-10 22:34:19 +00:00
javi%netscape.com 64f2c8b3ad Fix for Bug 75300 2001-04-10 22:28:52 +00:00
javi%netscape.com 356e4e4ce2 Fix build bustage. 2001-04-10 20:57:57 +00:00
sonmi%netscape.com 8494088009 fixed a stresstest failures were not recognized by this script 2001-04-10 18:39:14 +00:00
nicolson%netscape.com 28feeceada Don't link with libhpi, apparently it's not necessary in jdk 1.2. 2001-04-10 17:43:00 +00:00
nicolson%netscape.com e438839d6e Be able to link against JDK 1.1 libraries. 2001-04-10 17:41:52 +00:00
nicolson%netscape.com a4eca56472 Tweaks for JSS 3.1, and get it to build. 2001-04-10 17:32:30 +00:00
bryner%uiuc.edu 3985890e25 Updating for necko api change. 2001-04-10 08:01:26 +00:00
javi%netscape.com 2cee056cc5 Fix some build bustage. 2001-04-10 01:39:03 +00:00
javi%netscape.com 46fa9d174b initialize with the correct file name. 2001-04-09 22:52:47 +00:00
bryner%uiuc.edu 203287f6ae Fixing more fallout from danm's checkin. 2001-04-09 18:30:18 +00:00
javi%netscape.com 2c6f82247c Get rid of a signed/unsigned comparison warning. 2001-04-09 17:44:08 +00:00
bryner%uiuc.edu 8b37c8820c Syncing with danm's nsIDialogParamBlock changes. r=cls. Not part of build. 2001-04-09 08:44:46 +00:00
bryner%uiuc.edu f6de591fe9 Fixing NSS to know about the new include path for NSPR. Patch from cls, r=bryner. 2001-04-07 07:22:18 +00:00
bryner%uiuc.edu 1c4df61465 Adding correct include path for NSPR, since it has changed. Patch from cls, r=bryner. 2001-04-07 06:37:07 +00:00
nelsonb%netscape.com ad5e367c06 Merge changes from NSS_3_2_BRANCH. Fix backward compatibility issues. 2001-04-06 17:47:15 +00:00
relyea%netscape.com 08e45883c5 Add Makefiles for SunOS 5.9 for sparc and intel. 2001-04-06 00:22:11 +00:00
ddrinan%netscape.com b65d9342c4 Fixed some xul elements that should have been label instead of value 2001-04-05 22:48:52 +00:00
ddrinan%netscape.com d902f4645a Use security.default_personal_cert for client auth 2001-04-05 00:36:53 +00:00
ddrinan%netscape.com ba61aa365a Fixed some typos in the pref names 2001-04-05 00:35:01 +00:00
bryner%uiuc.edu 827153f488 Making the CertContentListener support weak refs, this makes it so the user gets prompted to import the certificate. r=javi. 2001-04-04 23:30:05 +00:00
sonmi%netscape.com 724ef914cf updated 2001-04-04 23:28:57 +00:00
ddrinan%netscape.com 44bad1aeb9 Fixed preftype error for default_personal_cert. r=javi 2001-04-04 22:23:27 +00:00
mcgreer%netscape.com f0c3234d22 fix bug #74764
r=javi
2001-04-04 21:06:22 +00:00
bryner%uiuc.edu 9b64af3121 Fixing client auth. r=darin, sr=ben. Not part of the build. 2001-04-04 07:36:39 +00:00
sonmi%netscape.com f1403835ca removed unneccessary variables 2001-04-04 00:31:59 +00:00
sonmi%netscape.com aac65383e2 workaround, when running backward compatibility tests pk12util tests don't run 2001-04-04 00:29:27 +00:00
sonmi%netscape.com 279bfc8f54 added functionallity for backward compatibility testing, improved messages 2001-04-04 00:28:12 +00:00
sonmi%netscape.com 83fcb665a3 added backward compatibility tests 2001-04-04 00:23:18 +00:00
sonmi%netscape.com 0cf7b38a1b added functionallity for backward compatibility testing 2001-04-04 00:22:43 +00:00
javi%netscape.com 39cb237a92 Fix for Bug 74436 patch provided by ccarlen r=danm
Make PSM 2.0 use the embedding friendly window watcher
  service instead of grabbing the hidden window.
2001-04-04 00:06:18 +00:00
javi%netscape.com ef73f92268 Fix UNIX build bustage 2001-04-04 00:03:02 +00:00
nicolson%netscape.com e6c3174bf3 just hacking. 2001-04-03 04:08:20 +00:00
ddrinan%netscape.com 79a8b94162 Added client auth callback 2001-04-03 01:11:30 +00:00
ddrinan%netscape.com fad29073c8 Need to include dist/private/security 2001-04-03 01:10:57 +00:00
ddrinan%netscape.com ac4a2abfac Added client auth dialog interface 2001-04-03 01:10:10 +00:00
ddrinan%netscape.com e1c94a4326 Client auth xul and js 2001-04-03 01:09:03 +00:00
ddrinan%netscape.com fff634f1fd Added client auth resources 2001-04-03 01:07:30 +00:00
ddrinan%netscape.com b9f72042a2 Added support for client auth dialogs 2001-04-03 01:06:17 +00:00
sonmi%netscape.com 462c1b52f5 improved usage and parameters, reduced connections from 5 to 1 2001-04-02 17:32:48 +00:00
jgmyers%netscape.com f185c5e4ed distinguish weak crypto: bug 31896 r=ddrinan 2001-04-01 19:38:12 +00:00
jgmyers%netscape.com 3c357f35f1 distinguish weak crypto in PSM2: bug 31896 r=dmose ser=darin 2001-04-01 19:37:29 +00:00
nelsonb%netscape.com 052b2e22df Fix a couple of memory leaks that occur in rare error paths. 2001-03-31 02:49:59 +00:00
mcgreer%netscape.com 71879dc03f clean up PKCS#12 code
refer to certs by db key, not nickname (fixes nickname collision bugs)
2001-03-30 19:55:00 +00:00
javi%netscape.com f239882f10 Fix for bug 64713. Patch from Margaret Chan to get PSM building using gcc 2001-03-30 18:46:06 +00:00
nelsonb%netscape.com eb25bb6dde Fix leak of cert reference in cert authentication callback functions. 2001-03-30 00:40:24 +00:00
javi%netscape.com 7ed41a9893 Make viewing a cert easier if you have a reference to a cert object.
A preliminary draft of the cert dump implementation.
2001-03-28 02:05:54 +00:00
sonmi%netscape.com d5543fbdac added RSH variable, since 4 out of 5 rsh on NT don't work as expected... 2001-03-28 00:04:37 +00:00
sonmi%netscape.com 967185a2cf fixed a win2K MKS problem (PATH seperator) 2001-03-28 00:03:59 +00:00
sonmi%netscape.com f9db0ccd70 changes for the new distributed stress test
-) split generating of cert into 2 functions, so we can add any
      number of certs to an existing Database
   -) added function to generate n certs for the stress test (run
      from the server side)^M
2001-03-28 00:03:02 +00:00
sonmi%netscape.com e67c630be6 changes for the new distributed stress test
-) improved errormessages
   -) changes to get around the DNS/ipaddress problem
   -) changes necessary for the remote side of the distributed test
        running in the server's directory structure
        messages and errormessages
   -) changes for the server side of the dist. stress test
        set $RSH for windows
        set variables for the certdatabase of the dist stress test
2001-03-28 00:02:27 +00:00
sonmi%netscape.com 66ac3e222c changes for the new distributed stress test
-) to get around the DNS/ipaddress problem
   -) be sourcable from ssl_dist_stress.sh (share a lot of functionality)
2001-03-28 00:01:43 +00:00
sonmi%netscape.com f729c1ed66 distributed stress test
new script to run the server and the remote side of the test
   -) have cert.sh generate certs
   -) start a server
   -) launch strsclnts via rsh, each rsh with a range of certs to use
   -) wait 10 minutes
   -) shut down the server
2001-03-28 00:00:48 +00:00
mcgreer%netscape.com da4fac0e50 change cert mgr to use outliner 2001-03-27 00:18:21 +00:00
javi%netscape.com 85487c8c36 Install the loadable roots when installing pipnss.dll 2001-03-26 22:32:36 +00:00
nelsonb%netscape.com 4b0d156928 Eliminate the old global arena lock. Each ArenaPool now has its own lock.
The new PORTArenaPool struct, an extended PLAreanaPool, is used in place
of PLArenaPools.
2001-03-23 23:40:09 +00:00
javi%netscape.com fe9a0da398 Add a second tab to the cert view dialog for the pretty print
stuff.
2001-03-23 22:58:13 +00:00
javi%netscape.com f50f88edcd Delete the ns*CertificateManager related files that are no longer part of the build. 2001-03-23 21:27:29 +00:00
sonmi%netscape.com 2efbdd560b took out yesterday's change, since it did not work 2001-03-23 21:11:14 +00:00
nicolson%netscape.com 37f72b0328 Allow the option of not overriding the Sun provider, for CMS. 2001-03-23 19:50:02 +00:00
relyea%netscape.com 43f46341d4 Change structure passing to pointer passing.
removed debugging printf's
2001-03-23 19:33:59 +00:00
sonmi%netscape.com 1f8b4fe421 put Ian's fix to the HP coredump back, call cmsutil without parameters prior
to any cmsutil action
2001-03-23 00:39:57 +00:00
mcgreer%netscape.com 3c27562cb2 fix a couple UI bugs introduced by the XUL changes 2001-03-22 21:46:00 +00:00
mcgreer%netscape.com d1520864c5 one more place to remove nsICertificateManager 2001-03-22 17:10:50 +00:00
mcgreer%netscape.com c4183749eb clean up cert manager code
* move trust to nsIX509CertDB
* remove unneccessary interface nsICertificateManager (everything should be handled by nsIX509CertDB)
2001-03-22 16:48:19 +00:00
bryner%uiuc.edu 8f7284c5f2 Missed these XUL changes from earlier. r=blake. 2001-03-22 01:37:12 +00:00
bryner%uiuc.edu 7a5fb43948 Bugs 70745, 70747. Making the following XUL syntax changes:
<textfield/> -> <textbox/>
<title/> -> <label/>
value -> label for all widgets except textbox, progressmeter, and text.
progresstext -> label
data -> value

r=blake, hewitt.  sr=ben, hyatt.  checking in for maolson@earthlink.net and blakeross@telocity.com.
2001-03-22 00:21:54 +00:00
mcgreer%netscape.com 59c8f62d6d add certificate verification and usages to cert display 2001-03-21 22:00:15 +00:00
sonmi%netscape.com b10ed9cdfe searching for "error" "failed" and "fatal" in the output logs 2001-03-21 21:29:48 +00:00
javi%netscape.com 30fbdfdfb9 Fix build bustage for Linux RH 7 + patches. 2001-03-21 05:35:58 +00:00
javi%netscape.com 429c09d887 Use the token name instead of the slot name when formatting the string
name.
2001-03-21 03:46:49 +00:00
javi%netscape.com 639713ad8e Make the "Examine Certificate" button on the SSL error dialgs work.
Fix nsPKCS12Blob to use the default password handler callback so
that SDR continues to work.

Give the certViewerDetails window the ability to load a cert based on
its certDBKey instead of nickname.
2001-03-21 03:37:49 +00:00
javi%netscape.com 7405f3b91e Fix Linux build bustage. 2001-03-21 01:27:04 +00:00
javi%netscape.com 7f68152e3f 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 a6b2f0b919 Fixing bustage from string changes. Not part of build. 2001-03-20 22:41:35 +00:00
mcgreer%netscape.com fa277c1c3d make the cert name show up in the edit window 2001-03-20 18:32:04 +00:00
mcgreer%netscape.com dc3f638d52 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 51be251b74 Syncing to jag's string changes to fix build bustage. r=jag. 2001-03-20 07:46:37 +00:00
bryner%uiuc.edu b557233075 Patch from jag to sync with new string changes. r=me. 2001-03-20 06:09:00 +00:00
nelsonb%netscape.com bb05199975 Add function SECU_PrintBuf() which prints a buffer in hex and ASCII. 2001-03-20 04:23:38 +00:00
nelsonb%netscape.com c61bdaf9e1 Fix bug in SSL_ResetHandshake introduced in last checkin. 2001-03-20 00:39:02 +00:00
javi%netscape.com dfc23e0523 Make a better contract ID for the pk11 token db. 2001-03-19 23:09:28 +00:00
javi%netscape.com ae366b038f Add new sources from freebl to the Mac project. 2001-03-19 19:06:42 +00:00
javi%netscape.com 73ecb50512 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 68f0773b6f 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 4f6773d4e2 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 62016bed7f 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 925ac8f774 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 ae0535f46a Make the nss_build_all target work on NT. 2001-03-14 19:12:30 +00:00
javi%netscape.com 92b370bcb5 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 dd7856b596 Add code to all the nss pre-reqs with a single target. 2001-03-14 18:08:25 +00:00
javi%netscape.com 3f1633798c Fully support profile swtiching in PSM 2.0 2001-03-14 00:03:23 +00:00
javi%netscape.com 3ac1ec2bce Didn't mean to enable the logging by default. 2001-03-13 23:47:12 +00:00
javi%netscape.com 3e0c4b3b0b Fix build bustage. 2001-03-13 22:24:58 +00:00
javi%netscape.com 1b3dfadb17 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 30aa3c70e3 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 7ae7e2b808 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 ef75cbd4ed bug 70992 patches to build 4.2 BSD 2001-03-13 19:02:05 +00:00
relyea%netscape.com 61807f49d0 bug 70992 patches to build 4.2 BSD. 2001-03-13 19:00:52 +00:00
mcgreer%netscape.com 2d117860b4 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 beab5c9e55 Make the Mac build PSM 2.0 again. 2001-03-13 00:22:26 +00:00
relyea%netscape.com 078a9e5cd9 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 4eeba2b1f4 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 a3dcfdcd14 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 e22704a873 Makefiles to build mozilla/dbm sources with coreconf in
mozilla/security/dbm/.
2001-03-12 22:06:14 +00:00
javi%netscape.com cbc174f060 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 0e34d9f144 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 9d4d19b67c No longer need to special the DIST variable when MOZILLA_CLIENT is
defined.
2001-03-10 01:59:59 +00:00
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
nelsonb%netscape.com 4bd80af9b2 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 737d4485cd 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 2eb519fe1c Remove C++ comments from C file. 2001-02-06 23:50:12 +00:00
javi%netscape.com a2a78eaa30 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 fa1a2642a1 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 1b2814995c Add public directory 2001-02-06 23:05:19 +00:00
thayes%netscape.com 60bfe54a9e Add nsPK11TokenDB. Modify SDR to throw set-password dialog. 2001-02-06 23:01:33 +00:00
thayes%netscape.com 44bc0e1140 Remove SecureDevicePrompt idl 2001-02-06 23:00:18 +00:00
thayes%netscape.com 6eba690b46 Add INSSDialogs IDL 2001-02-06 22:58:57 +00:00
thayes%netscape.com 75236f3e70 Add PK11TokenDB IDL 2001-02-06 22:52:10 +00:00
javi%netscape.com 7413ff9c90 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 fd21d51ac0 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 7500eb15e2 Remove references to coreconf from the Makefile for building
pipnss
2001-02-06 02:44:15 +00:00
relyea%netscape.com 754aa76974 Bug 67501: Fix suggested by Nelson. Make '-d' option work again in sdrtest. 2001-02-06 01:05:21 +00:00
relyea%netscape.com cf6576713c Bug 67068. Fix Crash in SECMOD_Shutdown. reviewed by wtc. 2001-02-06 00:11:24 +00:00
relyea%netscape.com 5ecfed8476 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 ba958523a0 Bug 67507 - implement TLSStepUp(). r=javi. Not part of build. 2001-02-05 21:46:24 +00:00
wtc%netscape.com 35a6328ccf 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 c9bc7f855d 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 e47ad91c2f 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 359c4e9284 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 3a43941274 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 fb9dfd69f3 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 159ce91a4e 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 4f4c5823f6 First Checked In. 2001-02-01 21:59:09 +00:00
javi%netscape.com cfbcb20147 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 7538eb6ad3 Bring projects up to date for NSS 3.2 2001-02-01 21:52:03 +00:00
relyea%netscape.com 4f926d7877 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 848edbb92c remove cdbhdl.h and recode. bug 64206 reviewed by wtc. 2001-02-01 19:05:10 +00:00
wtc%netscape.com 039b921879 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 8bb8d0cc73 remove cdbhdl.h bug 64260 reviewed by wtc. 2001-02-01 18:09:50 +00:00
bryner%uiuc.edu 124d914a66 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 e6db1539df Resolved merge conflict with Ian. 2001-02-01 01:29:04 +00:00
kirke%netscape.com 5960080b78 Fixed bogus tab introduced by my previous checkin. 2001-02-01 00:57:26 +00:00
wtc%netscape.com 82eb89e6d0 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 1fc2a5ed5a 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 d298691348 Bugzilla bug #54711: OS/2 does not need to build nsinstall. 2001-01-31 23:21:28 +00:00
wtc%netscape.com 8d6ae849d0 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 04242819d4 I found that #include <unistd.h> is still needed on Unix for getpid(). 2001-01-31 19:18:09 +00:00
wtc%netscape.com 3b35a98af6 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 e6000468f1 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 4dea78ce93 Reorganize password callback context (uses nsIInterfaceRequestor).
Fix several bugs in the SDR implementation.
2001-01-31 18:03:49 +00:00
wtc%netscape.com 1a4cebe15b 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 b31c755088 bug 67100, memory leaks in rsa.c and pqg.c fixed. 2001-01-31 15:49:19 +00:00
wtc%netscape.com 5334548540 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 1568621522 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 81c10353d3 Fix memory leak in mpp_make_prime. Bug 67094. 2001-01-31 00:37:40 +00:00
wtc%netscape.com c476a28be9 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 2c3d9cd448 change pk12util to use shared libs. 2001-01-30 19:49:52 +00:00
mcgreer%netscape.com 6d10eabe08 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 71ca492fce 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 f8c9dbd50c 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 e450c541b4 Add first cut at exportable interfaces. 2001-01-30 18:34:22 +00:00
thayes%netscape.com 3b8522cde0 Initial versions of SDR. Doesn't do change/set password yet. 2001-01-30 02:47:43 +00:00
bryner%uiuc.edu b10b7c1d34 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 e5afbc13df 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 0529fd49b7 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 b18f617ae3 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 1fd27f030e 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 0658b39baf 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 44f00ec417 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 f54215d441 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 d2b6afd0dc Fix Win32 opt build bustage. 2001-01-26 18:55:34 +00:00
mcgreer%netscape.com f7ffc0989b 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 771d892bbe initial checkin of tool which converts CA certs into format for certdata.txt 2001-01-26 16:32:10 +00:00
relyea%netscape.com 451acc29cb 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 85284ec34d 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 997a6cb19a 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 1028e417ae 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 eec2089f8f Fix for Bug 64650
Give PSM suport for HP_UX
2001-01-25 21:08:59 +00:00
javi%netscape.com 408b7768e2 Part of Fix for bug 64650
main.c becomes psmmain.c
2001-01-25 21:06:10 +00:00
javi%netscape.com ab70a316a3 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 a867fd0244 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 1d3989f779 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 8432dff235 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 37f8cddb7b Export the new function NSS_VersionCheck(). Reviewed by Nelson. 2001-01-25 02:43:48 +00:00
javi%netscape.com 2f12d13e4e Missed this file during my last check-in. 2001-01-25 01:21:27 +00:00
javi%netscape.com 011df44cd1 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 5127834e37 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 7ef54f8fa6 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 f496e7e62b 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 47f40b54a1 Don't build cmd directory for mozilla builds. 2001-01-24 03:45:53 +00:00
sonmi%netscape.com 08c0ec4c05 cleanup after testclient -q successfully connected before exiting 2001-01-23 05:01:24 +00:00
sonmi%netscape.com 652ab2714c do_accept now ignores the PR_CONNECT_RESET_ERROR 2001-01-23 04:56:53 +00:00
javi%netscape.com db0363adb9 Replace all references to gmake with $(MAKE). 2001-01-23 04:06:37 +00:00
javi%netscape.com 9d6b85067c 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