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

808 Коммитов

Автор SHA1 Сообщение Дата
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 eed9cb7afe Merge the changes from NSS_CLIENT_TAG onto trunk. 2001-02-27 21:43:33 +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
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
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
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
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
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
wtc%netscape.com 782588654c Need to include "prthread.h" for the PRThread type. 2001-02-07 17:50:43 +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
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
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
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
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 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
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
relyea%netscape.com 0f7d6dba5f remove cdbhdl.h bug 64260 reviewed by wtc. 2001-02-01 18:09:50 +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