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

518 Коммитов

Автор SHA1 Сообщение Дата
nelsonb%netscape.com d41f41137f Eliminate cause of assertion failure that occurs when SSL is not the top
protocol on the socket's stack.
2001-04-26 21:53:11 +00:00
relyea%netscape.com 40b013dd2e Back out changes which prevent NT from building. Need to figure something else out (sigh).
bob
2001-04-25 16:34:33 +00:00
relyea%netscape.com 2ee675176a Role an 2.8.5 fix forward. (fix for O= dependencie in generating a nickname). 2001-04-24 21:27:40 +00:00
relyea%netscape.com 7efbba930e Export function to extract the public key from a subject key info
for JSS to use for CMS.
2001-04-24 20:04:14 +00:00
relyea%netscape.com 0c8f1d8d25 Make sure the signature key verification checks get ran if the key can
do signing.
2001-04-24 20:02:52 +00:00
relyea%netscape.com b33095e693 Patch to make the build work in both traditional and re-directed object mode. 2001-04-24 19:52:06 +00:00
relyea%netscape.com 15bdede4ed Add client requested features to coreconf:
building cross platform.
        targetting the Objects to a separate tree.
2001-04-24 17:05:18 +00:00
nicolson%netscape.com c23023ecc0 Fix bug 75770: RSA_NewKey returns an incomplete key. Reviewed by mcgreer
and nelsonb.
2001-04-12 20:23:42 +00:00
nelsonb%netscape.com 68efd66d1e Merge in NSS 3.2.1 changes. (VersionCheck function) 2001-04-11 22:52:09 +00:00
nelsonb%netscape.com b0cb9c672d Merge in NSS 3.2.1 changes. 2001-04-11 22:49:07 +00:00
nelsonb%netscape.com fb36a0450d Merge in changes from NSS 3.2.1. 2001-04-11 22:47:14 +00:00
nelsonb%netscape.com cc4cb1064a Merge NSS 3.2.1 changes. 2001-04-11 22:45:40 +00:00
nelsonb%netscape.com b90d1be66e Merge in NSS 3.2.1 changes into nss.def. Update version to 3.3 Beta. 2001-04-11 22:42:28 +00:00
nelsonb%netscape.com a939e4bd52 Merged in changes from NSS_3_2_BRANCH. 2001-04-11 22:28:11 +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
nelsonb%netscape.com ad5e367c06 Merge changes from NSS_3_2_BRANCH. Fix backward compatibility issues. 2001-04-06 17:47:15 +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
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
nelsonb%netscape.com c61bdaf9e1 Fix bug in SSL_ResetHandshake introduced in last checkin. 2001-03-20 00:39:02 +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
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
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 ef75cbd4ed bug 70992 patches to build 4.2 BSD 2001-03-13 19:02:05 +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
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
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
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
relyea%netscape.com 08e929bc67 Fix mismatched parameter problem. 2001-02-22 18:27:28 +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
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
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
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
wtc%netscape.com b8f23fb964 Set NSS version to 3.2. 2001-02-08 01:22:01 +00:00
wtc%netscape.com 9621614a58 Need to include "prthread.h" for the PRThread type. 2001-02-07 17:50:43 +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 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
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
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 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