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

2300 Коммитов

Автор SHA1 Сообщение Дата
wtchang%redhat.com 14794607bc Trivial comment fix. 2005-07-05 22:41:33 +00:00
wtchang%redhat.com a36a0d6ad4 Bugzilla Bug 287057: fixed memory leaks in callers of cert_FindExtension.
pass NULL as the SECItem* argument if we only want to know if the extension
exists but don't need its value. r=jpierre,nelsonb.
Modified Files:
	certdb/certdb.c certdb/genname.c certhigh/certhigh.c
	certhigh/certhtml.c certhigh/crlv2.c certhigh/ocsp.c
2005-06-30 20:53:57 +00:00
wtchang%redhat.com 1639879aa6 Bugzilla Bug 298957: added new function PK11_TokenKeyGenWithFlags.
r=relyea,nelsonb.
Modified files: nss/nss.def pk11wrap/pk11pub.h pk11wrap/pk11skey.c
2005-06-30 17:50:41 +00:00
wtchang%redhat.com 9ee0623105 Bugzilla Bug 298962: Removed dead code: nssBestCertificate_SetArgs,
nssBestCertificate_Callback, and nssBestCertificateCB. r=jpierre,nelsonb.
Modified files: certificate.c pkitm.h
2005-06-28 17:55:29 +00:00
wtchang%redhat.com fafa59ce5f Bugzilla Bug 298953: fixed a memory leak in sslBuffer_Grow if PORT_Realloc
fails. r=nelsonb.
2005-06-28 17:48:26 +00:00
julien.pierre.bugs%sun.com a7638aa1fd Fix for 298538 - fix signature verification in S/MIME with signer-only cert. r=wtchang, nelson 2005-06-27 22:21:19 +00:00
wtchang%redhat.com 2a3bb9d1e0 Bugzilla Bug 295754: moved duplicate function subject_list_sort to
certificate.c and renamed it nssCertificate_SubjectListSort.
r=relyea,nelsonb.
Modified files: certificate.c pkim.h pkistore.c tdcache.c
2005-06-27 21:50:06 +00:00
christophe.ravel.bugs%sun.com a12b562c66 After branching NSS_3_10_BRANCH, the tip target is 3.11 2005-06-27 18:21:02 +00:00
wtchang%redhat.com dd3c6f24d1 Bugzilla Bug 295754: fixed a crash in subject_list_sort if a cert is not
decodable (e.g., it has unsupported critical extension). r=relyea,nelsonb.
Modified Files: pkistore.c tdcache.c
2005-06-24 00:33:28 +00:00
wtchang%redhat.com de7814e763 Bugzilla Bug 298537: replaced hardcoded 3 and 8 with the NSS_VMAJOR and
NSS_VMINOR macros defined in nss.h. r=relyea,nelsonb.
2005-06-23 23:41:29 +00:00
relyea%netscape.com f0a85660c4 Arg! This change was supposed to go to a branch, not the tip. back it out now.
bob
2005-06-20 23:14:45 +00:00
relyea%netscape.com 6c951345b4 Test multiaccess Databases. This patch causes softoken to Always use the
multiaccess Database for clients. This is not intended for the final release
2005-06-20 23:11:25 +00:00
relyea%netscape.com 3f9404d4ce Get the Processer cache line size. This file contains processor and OS
specific content. Currently it only works well with x86 and 64-bit PPC.
2005-06-09 20:43:40 +00:00
wtchang%redhat.com 026a0217ed Bugzilla bug 295298: enforce RSA key size limits when generating a new
key pair. r=nelsonb,jpierre.
2005-05-27 23:53:19 +00:00
nelsonb%netscape.com e5eb16af00 Allow DSA signature output buffer to exceed required length.
Bug 191470. r=nelson. Patch by rrelyea@redhat.com.
2005-05-21 21:35:24 +00:00
wtchang%redhat.com bf8bc99a2c Bugzilla Bug 294071: removed out-of-date comments and dead code. r=nelsonb. 2005-05-18 00:03:11 +00:00
julien.pierre.bugs%sun.com 3046175100 Rename NEXT_ITERATION macro to NEXT_USAGE to make code clearer 2005-05-17 17:41:17 +00:00
julien.pierre.bugs%sun.com 065d103d3a Fix for 265369 - fix compiler warning in unix_rand . r=nelson 2005-05-10 21:14:51 +00:00
wtchang%redhat.com ecafacb917 Bugzilla Bug 291858: fixed incorrect definitions of the CKM_SHAxxx_HMAC,
CKM_SHAxxx_HMAC_GENERAL, CKM_ECDH1_DERIVE, CKM_ECDH1_COFACTOR_DERIVE, and
CKM_ECMQV_DERIVE macros. r=nelsonb,relyea.
2005-04-28 16:53:19 +00:00
christophe.ravel.bugs%sun.com 18a44a9aad Change NSS version to 3.10.1 Beta. 2005-04-27 20:28:39 +00:00
neil.williams%sun.com b2e194a3d0 Bug 291555. Makes certutil process null CSR ext req lists as it did before NSS3.10. r=nelson 2005-04-23 03:58:19 +00:00
christophe.ravel.bugs%sun.com df9ef8a155 Changing beta flag to RTM. 2005-04-19 22:53:46 +00:00
wtchang%redhat.com 3395848fa4 Bugzilla bug 275576: added "Root" to the nickname for the "Global
Chambersign" root. r=nelsonb.
Modified files: certdata.txt certdata.c
2005-04-18 16:08:10 +00:00
julien.pierre.bugs%sun.com a5a1ba4841 Fix for 290121. Replace PRIntervalTime with PRTime when checking for the need to query the token for CRLs. r=nelson 2005-04-17 03:17:07 +00:00
wtchang%redhat.com 3e92cbf95d Bugzilla Bug 288095: removed unnecessary #include "alghmac.h". alghmac.h
and pkcs11i.h don't need to be exported to the outside of lib/softoken.
r=relyea,nelsonb.
Modified Files:
	pk11wrap/pk11pbe.c pkcs12/p12d.c pkcs12/p12e.c
	pkcs12/p12local.c softoken/manifest.mn
2005-04-15 16:38:46 +00:00
wtchang%redhat.com 540c1cf71a Bugzilla Bug 258416: trust Sonera Class 1 CA only for S/MIME. r=nelsonb.
Modified files: certdata.c certdata.txt
2005-04-14 16:45:04 +00:00
julien.pierre.bugs%sun.com fb7c3531fe Fix for 290121 - always fill the CRL cache on first entry, to fix AIX problem. r=nelson 2005-04-13 18:08:48 +00:00
wtchang%redhat.com 5a9624f05e Bugzilla Bug 287495: added Go Daddy Class 2 CA and Starfield Class 2 CA.
Bumped the nssckbi module's version to 1.53.  Updated the instructions in
README. r=relyea,nelsonb.
Modified Files: README certdata.c certdata.txt nssckbi.h
2005-04-13 01:45:53 +00:00
alexei.volkov.bugs%sun.com d2f6e314c7 Fix for bug 265003: Add CRL generation to crlutil. Reviewed JP+ 2005-04-12 02:24:17 +00:00
julien.pierre.bugs%sun.com 98d2ea1e3c Correct name of extension from "Invalid Date" to "Invalidity Date". 2005-04-11 21:27:01 +00:00
nelsonb%netscape.com 0187d36e9b Report correct error code when input cert file contains extra stuff.
bug 289819.  r=julien.pierre
2005-04-11 02:52:01 +00:00
julien.pierre.bugs%sun.com 4f4e3af5f8 Fix for 280121 - allow encoding simple templates with SEC_ASN1_INLINE and SEC_ASN1_OPTIONAL . r=nelson 2005-04-09 05:06:34 +00:00
nelsonb%netscape.com e0a7c75322 Don't crash in NSC_CopyObject after failing to copy a token object.
Bug 289529. r=relyea.
2005-04-09 00:42:01 +00:00
nelsonb%netscape.com 7d6edc424d Back out the preceeding fortezza removal patch, which was accidentally
applied to the trunk, not to the intended branch.
2005-04-06 21:35:45 +00:00
nelsonb%netscape.com 17a1f014fd Remove fortezza support from libSSL and related commands. Bug 239960.
ON PERFORMANCE_HACKS_BRANCH.  r=rrelyea.
2005-04-06 19:43:19 +00:00
nelsonb%netscape.com 095a0172f0 Fix implementation of SSL_NO_STEP_DOWN. Bug 148452. r=julien.pierre.
Modified Files:  sslimpl.h sslinfo.c sslsecur.c sslsock.c
2005-04-05 03:48:20 +00:00
julien.pierre.bugs%sun.com a2ec53c02b Fix gcc compiler warning 2005-04-05 00:55:55 +00:00
julien.pierre.bugs%sun.com 9b65f66678 Fix for bug 287654 - check message value against RSA modulus. r=nelson 2005-04-05 00:14:07 +00:00
neil.williams%sun.com fe7d548e36 This fixes Bugzilla Bug 288227 by initializing the stepUp flag in
nssCryptokiTrust_GetAttributes(). r=nelsonb
2005-04-04 18:46:23 +00:00
julien.pierre.bugs%sun.com 51bba31171 Fix for 287654 . Check input buffer length for C_Encrypt with RSA . r=nelson 2005-04-04 09:27:42 +00:00
julien.pierre.bugs%sun.com e38dfe9691 Fix for bug 288726. error in SECMOD_CancelWait 2005-04-02 06:02:53 +00:00
julien.pierre.bugs%sun.com 16a9e79d60 Silence compiler warnings 2005-04-02 05:33:41 +00:00
julien.pierre.bugs%sun.com 85f13422bc Remove unused variable 2005-04-02 05:17:27 +00:00
nelsonb%netscape.com aed5390a2d Rename functions that are shared by pk11wrap and softoken from sftk_ to
secmod_.  Bug 286685. r=relyea.
2005-04-02 00:46:13 +00:00
wtchang%redhat.com 1ddbee0247 Bugzilla bug 288657: fixed the bug that pk11_AnyUnwrapKey returns a
partially constructed symKey object if C_UnwrapKey fails with
CKR_DEVICE_ERROR.  r=relyea.
2005-04-01 22:27:44 +00:00
wtchang%redhat.com dda0b57a91 Set NSS version to 3.10 Beta 3. 2005-03-30 00:22:36 +00:00
nelsonb%netscape.com c03b9d33fe Rename all internal private softoken functions types and symbols from
PK11 or pk11 prefixes to SFTK or sftk prefixes.  Bug 286685.
r=relyea,wtchang  Modified Files:
 cmd/bltest/blapitest.c lib/pk11wrap/pk11pars.c lib/softoken/dbinit.c
 lib/softoken/dbmshim.c lib/softoken/fipstest.c lib/softoken/fipstokn.c
 lib/softoken/pcertdb.c lib/softoken/pk11db.c lib/softoken/pk11pars.h
 lib/softoken/pkcs11.c lib/softoken/pkcs11c.c lib/softoken/pkcs11i.h
 lib/softoken/pkcs11u.c lib/softoken/softoken.h lib/softoken/tlsprf.c
2005-03-29 18:21:18 +00:00
wtchang%redhat.com bbd584b694 Bugzilla Bug 286439: Removed PKCS11_USE_THREADS and PK11_USE_THREADS.
r=relyea,nelsonb.
Modified Files:
	pk11wrap/pk11list.c pk11wrap/pk11pars.c pk11wrap/pk11skey.c
	pk11wrap/pk11slot.c pk11wrap/pk11util.c pk11wrap/secmod.h
	pk11wrap/secmodi.h pk11wrap/secmodt.h pk11wrap/secmodti.h
	softoken/pkcs11.c softoken/pkcs11i.h softoken/pkcs11u.c
2005-03-28 20:45:37 +00:00
wtchang%redhat.com ef701de98b Removed an extraneous ^M character at the end of a line. 2005-03-28 19:37:28 +00:00
wtchang%redhat.com cb2efbad98 Got rid of extraneous ^M characters at some line endings. 2005-03-17 21:28:40 +00:00
wtchang%redhat.com ddab8fa00e Bugzilla Bug 286302: made PK11_CreateSymKey static and renamed it
pk11_CreateSymKey.  r=nelsonb.
Modified Files: pk11priv.h pk11skey.c
2005-03-16 22:40:35 +00:00
wtchang%redhat.com 4dc846b1fe Bugzilla Bug 286313: code cleanup: use PORT_New and PORT_ZNew to allocate
structures. r=nelsonb.
2005-03-16 21:57:47 +00:00
wtchang%redhat.com e112b06ae2 Bugzilla Bug 286318: performance optimization: save the result of
PK11_SESSION_LOCK in a local variable and reuse the result. r=nelsonb.
Modified Files: pkcs11.c pkcs11u.c
2005-03-16 19:24:45 +00:00
wtchang%redhat.com 7c8a3f8874 Bugzilla Bug 286313: pk11_getKeyFromList can call PORT_Alloc instead of
PORT_ZAlloc.  PK11_CreateSymKey should set the data.type member. r=jpierre
2005-03-16 19:10:49 +00:00
wtchang%redhat.com 733584cdd9 Bugzilla Bug 286298: comment formatting changes only.
Modified Files: pkcs11i.h pkcs11u.c
2005-03-16 19:02:04 +00:00
wtchang%redhat.com 08af568746 Bugzilla Bug 286298: removed the PKCS11_STATIC_ATTRIBUTES and
PKCS11_REF_COUNT_ATTRIBUTES macros, supporting only one of the three
attribute allocation strategies (static allocation). r=jpierre.
Modified Files: pkcs11i.h pkcs11u.c
2005-03-16 18:48:34 +00:00
nelsonb%netscape.com 0b4c6bf4e9 Eliminate one cause of double-deletes of PKCS11 keys and sessions.
Bug 283690. Patch contributed by Bob Relyea. r=nelson.
2005-03-15 05:27:31 +00:00
wtchang%redhat.com 1980fc5f8a Bugzilla Bug 276183: added a comment for PK11_HashBuf. 2005-03-14 19:22:06 +00:00
wtchang%redhat.com 38c071cb45 Bugzilla Bug 284386: the OID for RFC 1327 ucl was incorrectly encoded. 2005-03-14 18:04:44 +00:00
wtchang%redhat.com 5a13096fee Bugzilla Bug 284386: fixed build error using gcc4. gcc4 disallows arrays
of incomplete element type (which are invalid in C).  We moved the
declaration of nss_builtin_oids to pki1.h, after the definition of NSSOID.
r=caillon.
Modified Files: oiddata.h oidgen.perl pki1.h
2005-03-14 18:02:00 +00:00
julien.pierre.bugs%sun.com 49a5cedc08 Fix for 176705 - fix rpath on AMD64 platform. r=saul, sr=wtchang 2005-03-09 23:04:49 +00:00
neil.williams%sun.com 5431bc6445 r=nelson Bug=263779 2005-03-09 23:02:48 +00:00
nelsonb%netscape.com d126b39b34 Do not crash if Server SID cache is uninitialized. Bug 237724 r=Julien
Instead, if SSL_NO_CACHE is not set, return an error code.
2005-03-09 05:20:44 +00:00
nelsonb%netscape.com b4a5eb6864 Add root CA certs for XRamp, Camerafina and NetLock.
Bugs 274723. 275576, and 280744.  r=Jullien.Pierre
2005-03-08 08:44:57 +00:00
julien.pierre.bugs%sun.com d501f3ab57 Fix for 285233 - need extra symbols to be exported to support CRL generation. Ch
ecking in for alexei volkov . r=nelson
2005-03-08 07:08:48 +00:00
julien.pierre.bugs%sun.com c62079e031 Fix for bug 270689 . minor issues remaining with list cleanup and on-the-fly lock creation 2005-03-08 05:52:33 +00:00
wtchang%redhat.com 11ee6948b1 Bugzilla Bug 284839: checked in Bob Relyea's patch to improve the
responsiveness of SECMOD_WaitForAnyTokenEvent. r=wtc,nelsonb.
Modified Files: lib/dev/dev.h lib/dev/devslot.c lib/pk11wrap/pk11util.c
2005-03-07 21:20:38 +00:00
wtchang%redhat.com c6b963e853 Bugzilla Bug 263779: update the comment to reflect the new code.
Modified Files: secoid.c secoidt.h
2005-03-07 18:34:48 +00:00
nelsonb%netscape.com f9e9a4b85f Export CERT_SequenceOfCertExtensionTemplate on Windows.
Fix type of "attributes" member of struct CERTCertificateRequestStr.
Bug 284200.  r=nelson.williams & wtchang.
2005-03-05 08:03:04 +00:00
wtchang%redhat.com e14aed2199 Added a blank line after the triple license header to match the output
of the new oidgen.perl.
2005-03-04 18:30:12 +00:00
julien.pierre.bugs%sun.com afed9f1c17 Fix for 283765. Fix for UMR in NSSUsage. r=julien 2005-03-04 04:32:04 +00:00
julien.pierre.bugs%sun.com e31568eecd Fix crash in CRL sorting callbacks from qsort. 2005-03-03 04:07:26 +00:00
neil.williams%sun.com aa670cb0b1 Bug 263779 r=nelson@bolyard.com
This patch adds a new OID which is needed for the certutil patch which will follow.
2005-03-02 02:54:54 +00:00
nelsonb%netscape.com d614d9c9ff Report invalid key when key import fails. Do not go on and use invalid
key handle.  Bug 283642.  r=relyea
2005-02-27 15:25:46 +00:00
julien.pierre.bugs%sun.com cd9154c2e8 Fix for bug 272327 . AMD64 assembly optimization for bignum multiply. r=nelson 2005-02-25 04:30:11 +00:00
julien.pierre.bugs%sun.com f8a1159f11 Move static functions out of certi.h header file and into crl.c source file, to remove warnings with gcc 2005-02-25 00:54:29 +00:00
julien.pierre.bugs%sun.com 1861144044 Undo accidental deletion of PORT_ZFree 2005-02-24 06:02:16 +00:00
julien.pierre.bugs%sun.com a4621e0461 Fix for bug 270742 - incorporate AMD64 implementation of arcfour . Code donated by Marc Bevand, and integrated by Nelson . r=wtchang 2005-02-24 02:09:41 +00:00
julien.pierre.bugs%sun.com 09e544676a Fix for 269581 - cache the value of CKA_PRIVATE on private keys to avoid unnecessary C_GetAttributeValue . Also fix i
ncorrect logic in attribute tests. r=rrelyea,wtchang
2005-02-24 00:38:23 +00:00
julien.pierre.bugs%sun.com 0a4b279c0f Fix for 269581 - cache the value of CKA_PRIVATE on private keys to avoid unnecessary C_GetAttributeValue . Also fix incorrect logic in attribute tests. r=rrelyea,wtchang 2005-02-24 00:35:51 +00:00
julien.pierre.bugs%sun.com 8ac2cbecc8 Fix compiler warnings under Linux 2005-02-24 00:22:59 +00:00
julien.pierre.bugs%sun.com 2c3c71caa0 Add comment for bug 243585 2005-02-24 00:22:23 +00:00
wtchang%redhat.com 2887e52c23 Bugzilla Bug 282370: Added OID for PKIX_CA_ISSUERS. The patch is
contributed by Martin v. L�wis <martin@v.loewis.de>. r=nelson,wtc.
Modified Files: secoid.c secoidt.h
2005-02-23 19:43:02 +00:00
wtchang%redhat.com cf7f00183c Bug 236613: fixed the fallout from the change to MPL/LGPL/GPL tri-license.
Our script for processing the *.def on the Mac cannot handle blank lines.
Modified Files: nssckbi.def nss.def smime.def softokn.def ssl.def
2005-02-23 19:25:39 +00:00
wtchang%redhat.com 07d5483970 Bugzilla Bug 282367: Export CERT_DestroyUserNotice from the nss shared
library.  Added a CERT_DestroyUserNotice call to cmd/lib/pppolicy.c to
fix a leak of CERTUserNotice. r=nelsonb.
Modified Files: lib/nss/nss.def cmd/lib/pppolicy.c
2005-02-22 20:02:22 +00:00
julien.pierre.bugs%sun.com 66bc594587 Fix compilation on AIX 2005-02-15 19:26:28 +00:00
julien.pierre.bugs%sun.com 1b8fc2a9d7 Fix for 243585 - add the ability to use CRL objects from RAM . r=nelson, neil.williams 2005-02-15 06:26:43 +00:00
nelsonb%netscape.com 756dbad584 Export HASH_Clone HASH_HashBuf HASH_ResultLenContext
Bug 273444, r=julien.pierre
2005-02-12 06:39:23 +00:00
julien.pierre.bugs%sun.com 37fdc5fab9 Fix for 281761 - VFY_CreateContext passes wrong key object; and other cleanup. r=nelson 2005-02-10 08:05:54 +00:00
neil.williams%sun.com a7dcc795a8 Bug#:280602 Added list option to pk12uti, test for it.
r=nelson@bolyard.com
2005-02-08 01:04:50 +00:00
gerv%gerv.net f45b5900c8 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-02 22:28:27 +00:00
wtchang%redhat.com 4c5ddcd96b Wrap long lines. 2005-01-27 21:33:59 +00:00
wtchang%redhat.com 82b1183c84 Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files.
This keyword adds noise to the output of "ident libnss3.so | grep NSS"
on our debug build, and appears to cause spurious CVS conflicts. r=nelsonb.
2005-01-20 02:25:51 +00:00
wtchang%redhat.com d0724fcd94 Bugzilla Bug 278381: fixed double frees and mismatch of format specifers
and arguments. The patch is contributed by Tim Ruehsen
<tim.ruehsen@gmx.de>. r=wtc,relyea.
2005-01-14 18:59:20 +00:00
wtchang%redhat.com 467935176b Bugzilla Bug 276180: defend against invalid arguments to PK11_HashBuf
and PK11_DigestOp. r=nelsonb.
2005-01-04 22:00:01 +00:00
wtchang%redhat.com ddbea8b6fc Bugzilla bug 273624: fixed the regression (from NSS 3.3.x) that
NSS_Initialize didn't report the SEC_ERROR_BAD_DATABASE error if
the NSS databases haven't been created.  r=nelsonb,relyea.
Modified Files: pk11wrap/pk11err.c pk11wrap/pk11load.c
                softoken/dbinit.c softoken/pkcs11n.h
2005-01-04 18:20:00 +00:00
nelsonb%netscape.com 897bade8c1 Initialize 4 variables. Plug UMR reports. Bug 263691. r=wtchang 2004-12-24 07:13:35 +00:00
nelsonb%netscape.com c50e280c7b Add end of list marker to SECErrorCodes enum in secerr.h.
Bug  273611, r=Saul.edwards
2004-12-23 23:42:25 +00:00
julien.pierre.bugs%sun.com 99bef0be47 Fix for 273993 . SSL client cache grows with non-restartable sessions . r=saul,nelson 2004-12-17 02:01:35 +00:00
julien.pierre.bugs%sun.com 6c048409ed Fix for 266206 - avoid calling getdtablesize twice 2004-12-08 23:00:19 +00:00