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

123 Коммитов

Автор SHA1 Сообщение Дата
wtc%netscape.com f7e1ad24fe Bug 196776: the 'src' argument to the ASN.1 encoding functions should be
declared 'const'.
Modified Files: secasn1.h secasn1e.c
2003-03-11 02:31:16 +00:00
jpierre%netscape.com 379e743c92 Fix for bug 175167 - don't use mark & release in QuickDER decoder . r=wtc 2003-03-07 01:13:22 +00:00
ian.mcgreer%sun.com cccb7a3f68 bug 191757, InitOIDHash() not threadsafe
r=relyea
2003-02-28 21:13:20 +00:00
nelsonb%netscape.com 42fae25f24 Add support for Elliptic Curve Cryptography. Bug 195135.
Modified Files:
 	cmd/lib/SECerrs.h cmd/selfserv/selfserv.c
 	cmd/tstclnt/tstclnt.c lib/cryptohi/keyhi.h
 	lib/cryptohi/keythi.h lib/cryptohi/seckey.c
 	lib/cryptohi/secvfy.c lib/freebl/Makefile lib/freebl/blapi.h
 	lib/freebl/blapit.h lib/freebl/ldvector.c lib/freebl/loader.c
 	lib/freebl/loader.h lib/freebl/manifest.mn lib/nss/nss.def
 	lib/pk11wrap/pk11skey.c lib/pk11wrap/pk11slot.c
 	lib/softoken/lowkeyti.h lib/softoken/manifest.mn
 	lib/softoken/pkcs11.c lib/softoken/pkcs11c.c
 	lib/softoken/pkcs11t.h lib/ssl/ssl3con.c lib/ssl/ssl3prot.h
 	lib/ssl/sslcon.c lib/ssl/sslenum.c lib/ssl/sslimpl.h
 	lib/ssl/sslinfo.c lib/ssl/sslproto.h lib/ssl/sslsecur.c
 	lib/ssl/sslsock.c lib/ssl/sslt.h lib/util/secerr.h
 	lib/util/secoid.c lib/util/secoidt.h
Added Files:
 	lib/freebl/GFp_ecl.c lib/freebl/GFp_ecl.h lib/freebl/ec.c
 	lib/freebl/ec.h lib/softoken/ecdecode.c
2003-02-27 01:31:38 +00:00
jpierre%netscape.com 4c5cf50f52 Patch for 193961 - incorporate Wan-Teh's feedback 2003-02-19 21:50:49 +00:00
jpierre%netscape.com cc0db2005f Fix for bug 193691 . Make QuickDER return an error rather than assert if extraneous data is present in the buffer 2003-02-19 02:29:48 +00:00
nelsonb%netscape.com e5ea957b6e Add OIDs for AES Key Wrap mechanism. 2003-01-22 04:35:54 +00:00
wtc%netscape.com 3e2a98c878 Bug 186586: If at NSS shutdown there are still certs in the cert caches,
cause NSS shutdown and the next NSS initialization to fail but do not
destroy the cert caches (and the crypto context and trust domain containing
them) to avoid a crash if the NSS client destroys the certs later.  New
error codes needed to be added to indicate the failure of NSS shutdown and
NSS initialization due to this cause.
Modified Files:
	base/errorval.c nss/nssinit.c pki/pki3hack.c pki/pki3hack.h
	pki/pkistore.c pki/pkistore.h pki/tdcache.c pki/trustdomain.c
	util/secerr.h
2003-01-08 21:48:47 +00:00
nelsonb%netscape.com d442ab6107 Support SHA256, SHA384, and SHA512 hashes in NSS. 2002-12-12 06:05:45 +00:00
ian.mcgreer%sun.com dc9b4b2415 bug 172247, don't allow import of duplicate issuer/serial certs 2002-11-21 20:43:15 +00:00
nelsonb%netscape.com d94a05f7d5 Recognize new SHAxxx OIDs. 2002-11-16 03:34:53 +00:00
jpierre%netscape.com ec1c48a069 Assert if the QuickDER decoder does not consume all the input 2002-11-09 01:56:01 +00:00
jpierre%netscape.com 5a01280dd3 Fix for 177208 - unmark arena when DER decoding is successful 2002-10-31 01:54:13 +00:00
jpierre%netscape.com 1f25ac6059 Fix comment formatting style 2002-10-23 23:41:02 +00:00
jpierre%netscape.com 7d2f24403c Fix for bug 95311 - replace assertion with comments 2002-10-23 23:18:17 +00:00
jpierre%netscape.com 21bacd94cc Fix for bug 175167 - SEC_QuickDERDecodeItem should fre memory upon failure. r=wtc 2002-10-18 22:32:34 +00:00
nelsonb%netscape.com 7f6f169d11 Fix DER_GetInteger. Bug 174644. 2002-10-16 01:36:10 +00:00
relyea%netscape.com e106f58801 Bug 164501. Return a proper error code from PK11_FindCrlByName() so the CRL
code can decide if there is a hw or system failure preventing the reading of a
CRL or if the CRL is just not there.
2002-10-10 20:30:19 +00:00
wtc%netscape.com 36f9385882 Use the enumeration constant 'siBuffer' instead of 0. 2002-09-30 20:36:54 +00:00
jpierre%netscape.com a80912fec1 Fix indentation 2002-09-17 21:31:28 +00:00
jpierre%netscape.com 7a47c3326d Fix UMC in Purify 2002-09-16 23:25:04 +00:00
jpierre%netscape.com 93ee789624 Roll back change 2002-09-07 03:19:56 +00:00
jpierre%netscape.com e580d4eb91 Fix compiler warnings 2002-09-07 00:35:00 +00:00
jpierre%netscape.com 2f4d992991 Fix compiler warnings 2002-09-07 00:25:49 +00:00
jpierre%netscape.com 91afb65580 Fix compiler warning 2002-09-07 00:22:50 +00:00
jpierre%netscape.com f643874c5c Fix compiler warning under windows 2002-09-07 00:14:14 +00:00
nicolson%netscape.com 76c9ac877e Fix 164126: makefile build error.
Change the NSS module name from "security" to "nss".
2002-09-06 16:38:56 +00:00
jpierre%netscape.com 6b5779c201 Fix for 160805 . Make a copy of items into the arena before calling SEC_QuickDERDecodeItem where needed 2002-08-31 00:37:52 +00:00
wtc%netscape.com bde3b0335b Checked in an equivalent but simpler fix for Bug 165639
(NSSRWLock_UnlockWrite failed to wake up waiting readers).
2002-08-30 23:55:51 +00:00
jpierre%netscape.com ab49285664 Fix for 165639 - NSSRWLock_UnlockWrite causes deadlock when using recursivity of locoks. Fix by Wan-Teh 2002-08-30 22:46:45 +00:00
jpierre%netscape.com 6fab9c3cd2 Fix comment 2002-08-30 22:45:46 +00:00
jpierre%netscape.com 34c3a51ad6 Fix memory corruption 2002-08-29 01:28:53 +00:00
kaie%netscape.com d8cdcf2c51 b=107034 OE requires special attribute in incoming signed messages to support dual key certificates. Add new function
NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs.
r=relyea
2002-08-27 13:14:42 +00:00
kaie%netscape.com 7573860b4e Backing myself out, since it didn't compile on Win32, and I would like to discuss the correct fix. 2002-08-27 00:05:11 +00:00
kaie%netscape.com 0ad47da696 b=107034 OE requires special attribute in incoming signed messages to support dual key certificates. Add new function
NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs.
r=relyea
2002-08-26 21:34:31 +00:00
jpierre%netscape.com a6cb806320 Correctly count the number of items in a SEQUENCE OF or SET OF in quickder decoder. Bug found by one of Terry's tests. 2002-08-16 00:05:55 +00:00
jpierre%netscape.com ad91aa9fdc Updates to quick DER decoder, bug # 161215
Fixes from Terry's review :
- remove quick allocator
- always allocate entry array even if there is 0 entry
- rename DecodeConstructed to DecodeExplicit and use a better test for that case
- other misc small fixes
Also move SEC_QuickDERDecodeItem to secasn1.h
2002-08-08 01:54:38 +00:00
jpierre%netscape.com 55ad5be3bb Additional error reporting 2002-08-07 03:47:23 +00:00
jpierre%netscape.com ca38747338 Reorder functions to avoid forward declaration of DecodePointer 2002-08-07 03:40:47 +00:00
jpierre%netscape.com af13bd1b50 Be consistent in memory allocations - use QuickZAlloc 2002-08-07 03:36:46 +00:00
jpierre%netscape.com d377f289e1 Add new quick DER decoder. r=wtc 2002-08-07 03:25:47 +00:00
nelsonb%netscape.com 44719ac35e Add missing const qualifiers to NSS's regular expression match functions. 2002-07-29 21:30:31 +00:00
relyea%netscape.com 52a3e39f51 Initialize type fields to supress purify uninitialized reference warnings. 2002-06-28 03:00:10 +00:00
relyea%netscape.com c951743a6e Copy the type value as well as the rest. 2002-06-24 21:57:27 +00:00
thayes%netscape.com 9ff40a4655 Reserve OID (netscape_name_components 2) - see 605437 2002-06-04 21:46:05 +00:00
wtc%netscape.com c01c8333dc Bugzilla bug 131171: added HP-UX IPF (ia64) support. Portions of the patch
(attachment 84127) were contributed by Jim Dunn <jdunn@netscape.com>.
2002-05-18 00:52:11 +00:00
relyea%netscape.com b4c8847fee Add new error code for trying to all previously deleted modules which have not yet been freed. 2002-05-10 18:12:39 +00:00
wtc%netscape.com ac26f4995d Bugzilla bug 131057: define PORT_Strdup as a function that calls PORT_Alloc.
Modified files:
	lib/ckfw/nsprstub.c lib/fortcrypt/swfort/pkcs11/stub.c
	lib/nss/nss.def lib/util/secport.c lib/util/secport.h
2002-05-01 00:06:39 +00:00
thayes%netscape.com 9855f801d2 Reserved Netscape extension (NETSCAPE 1 18) 2002-04-23 23:48:20 +00:00
nelsonb%netscape.com b4933f383f Make libutil build for WinCE. 2002-04-04 00:11:48 +00:00