Commit Graph

5450 Commits

Author SHA1 Message Date
relyea%netscape.com
f212e4ecf1 bug 278276 Slot List Elements cannot be freed by applications.
wtchang: review+
julien.pierre.bugs: superreview+
	E
2005-07-28 23:16:26 +00:00
relyea%netscape.com
8be47f79ed bug 278276 Slot List Elements cannot be freed by applications.
Export a free function for slot list elements.

r = wtc & julien.
2005-07-28 23:13:21 +00:00
mconnor%steelgryphon.com
e246c70e9d bug 194141 - missing calls to SSL_ClearSessionCache, r=nelson.bolyard, sr=dveditz, a=bsmedberg 2005-07-28 18:15:20 +00:00
wtchang%redhat.com
0fc278d80f Bugzilla Bug 302262: fixed an error in the comment. Set the error code
if signature verification fails.  r=nelsonb.
2005-07-27 18:48:44 +00:00
julien.pierre.bugs%sun.com
5c55935a1d Fix for bug 292151 . Prevent strsclnt from starting threads for each connection. Allow specifying a ratio of full handshakes . r=nelson 2005-07-25 20:39:14 +00:00
wtchang%redhat.com
512a35d372 Bugzilla Bug 298514: Moved the FIPS 140-2 pairwise consistency check from
pk11wrap to softoken because the softoken shared library is our new crypto
module boundary. r=relyea,nelsonb.
Modified files: pk11wrap/pk11akey.c softoken/fipstokn.c softoken/pkcs11c.c
2005-07-22 22:11:22 +00:00
bzbarsky%mit.edu
10d1c576d9 Expose the subject name for the cert and an nsISupports pointer to the cert on
nsIPrincipal that represents a certificate principal.  Change preference
storage to ensure matches in not only the fingerprint but also the subjectName
before applying privileges from preferences to a certificate principal.  Remove
possibility for creating certificate principals without a useful identifying
name and make sure that names don't get munged by being forced to ASCII.  Bug
240661, r=caillon, sr=dveditz, a=bsmedberg
2005-07-22 19:05:42 +00:00
christophe.ravel.bugs%sun.com
f970690695 238319: Sun packages changes
Change rpm packaging for RHEL3 i386 and x86_64.
2005-07-22 15:32:50 +00:00
wtchang%redhat.com
75dc722c28 Bugzilla Bug 298957: moved PK11_TokenKeyGenWithFlags from the NSS_3.11
section to the NSS_3.10.1 section because we plan to export that function
in NSS 3.10.1. r=jpierre.
2005-07-22 01:43:36 +00:00
wtchang%redhat.com
ee93d82c69 Bugzilla Bug 298516: fixed problems found by code inspection. r=relyea.
Modified Files: pk11db.c pkcs11.c
2005-07-22 00:47:18 +00:00
wtchang%redhat.com
256eb43b03 Bugzilla Bug 298957: make the new function PK11_TokenKeyGenWithFlags
"legacy free" and move the code that set the CKF_ENCRYPT flag by default
and the Fortezza hack code to PK11_TokenKeyGen. r=relyea.
2005-07-22 00:07:52 +00:00
wtchang%redhat.com
252be2d441 Bugzilla Bug 288647: enable building NSS with an NSPR binary distribution.
Introduced NSPR_INCLUDE_DIR and NSPR_LIB_DIR make variables. Portions of
the patch were contributed by Chris Seawood <cls@seawood.org>. r=relyea.
Modified Files:
	coreconf/OS2.mk coreconf/OpenVMS.mk coreconf/location.mk
	nss/cmd/platlibs.mk nss/cmd/shlibsign/Makefile
	nss/cmd/shlibsign/sign.cmd nss/cmd/shlibsign/sign.sh
	nss/lib/ckfw/builtins/Makefile
	nss/lib/fortcrypt/swfort/pkcs11/Makefile nss/lib/nss/config.mk
	nss/lib/smime/config.mk nss/lib/softoken/config.mk
	nss/lib/ssl/config.mk
2005-07-21 23:48:30 +00:00
wtchang%redhat.com
cfbc0bfe3d Bugzilla bug 301212: Upgraded to zlib 1.2.3. r=relyea.
Modified Files:
	README adler32.c compress.c crc32.c deflate.c deflate.h
	example.c gzio.c infback.c inffast.c inflate.c inflate.h
	inftrees.c inftrees.h minigzip.c trees.c uncompr.c zconf.h
	zlib.h zutil.c zutil.h
2005-07-20 20:32:42 +00:00
pkw%us.ibm.com
53beab23e9 Bug 296449 - Error in string handling within <keygen>
r=kaie.bugs@gmail.com, sr=dveditz@cruzio.com, a=benjamin@smedbergs.us
2005-07-20 19:31:22 +00:00
timeless%mozdev.org
f4f945e14e Bug 283563 OOM crash [@ GetSlotWithMechanism][@ nsKeygenFormProcessor::GetPublicKey]
patch by b.jacques@planet.nl r=kaie sr=darin a=bsmedberg
2005-07-13 19:31:14 +00:00
jshin%mailaps.org
fcf7e6f914 bug 224820 : support UTF-16/32 (non-byte oriented char. encoding) in the form submission : r=biesi, sr=bz, a=asa 2005-07-13 16:55:59 +00:00
bzbarsky%mit.edu
1ca43db890 Fix leak due to non-use of already_AddRefed. Bug 296364, r=kaie, sr=bryner 2005-07-13 16:53:06 +00:00
dougt%meer.net
3baac22e47 Backing out my changes in the last few hours because Chase is tagging the tree. (the tree was open, but he was tagging) 2005-07-12 22:01:25 +00:00
dougt%meer.net
094201f074 Fixing build bustage. Must use FORCE_USE_PIC when FORCE_SHARED_LIB. MINIMO only. 2005-07-12 21:39:45 +00:00
dougt%meer.net
5212116105 Fixing 300373. Build/Minimo change. To allow WinCE startup, some of our components must be loaded dynamically regardless if we are building static or not. r=bsmedberg, a=asa 2005-07-11 16:38:28 +00:00
julien.pierre.bugs%sun.com
26dff248b1 Fix for 217024 . Address Wan-Teh's concerns about naming and documentation. Also fix AIX build by removing extraneous comma. 2005-07-09 00:34:43 +00:00
wtchang%redhat.com
6893edd94b Bugzilla bug 300068: fixed the bug that "collection" is used uninitialized
if "td", "c", or "cc" is NULL.  The patch is contributed by Wolfgang
Rosenauer <mozilla@rosenauer.org>. r=wtc.
2005-07-08 17:06:15 +00:00
julien.pierre.bugs%sun.com
bae291f63a Fix for bug 217024 . Add a function to compare validity times. r=relyea 2005-07-08 07:06:56 +00:00
julien.pierre.bugs%sun.com
bdc5219738 Fix for bug 292809 . Add flags to NSS_Initialize to better cooperate with the Java SunPKCS11 provider. r=relyea, wtchang 2005-07-08 04:41:32 +00:00
relyea%netscape.com
2b2395e4a9 Bugzilla Bug 287418: remove redundant memory allocation in DSA and ECDSA sign
wtchang: review+
julien.pierre.bugs: superreview+
2005-07-07 20:19:36 +00:00
wtchang%redhat.com
74efa171f5 Bugzilla Bug 294122: support building with MSYS (a set of Unix utilities
for Windows compiled with MinGW).  The patch is contributed by Howard Chu
<hyc@symas.com>. r=wtc,cls.
Modified Files: arch.mk rules.mk
2005-07-07 16:50:47 +00:00
julien.pierre.bugs%sun.com
0269e27f2d Fix for 297735 . C_Initialize should return CKR_CANT_LOCK . r=wtchang,rrelyea 2005-07-06 22:32:12 +00:00
wtchang%redhat.com
7f68104244 Removed an extraneous line at the end of file added in the previous
checkin.
2005-07-06 18:56:37 +00:00
relyea%netscape.com
66d0ee6781 Bug 294556 (not all functions exported) reviews wtc nelsonb
Bug 298627 (need to access random number generator on a slot). reviews wtc julien
2005-07-06 18:46:36 +00:00
wtchang%redhat.com
2fa8c48fa5 Bugzilla Bug 298957: pk11_FlagsToAttributes should not add attributes
whose type is 0. r=relyea.
2005-07-06 18:36:05 +00:00
wtchang%redhat.com
f8218a271b Bugzilla Bug 298957: code cleanup -- the array size can be MAX_TEMPL_ATTRS.
r=relyea.
2005-07-06 18:34:39 +00:00
wtchang%redhat.com
4527e657e5 Bugzilla Bug 299445 - fixed the check for an incomplete code set. 2005-07-06 18:14:26 +00:00
julien.pierre.bugs%sun.com
2e54275977 Fix for 297849 . Allow x86 build on Linux x86_64 machine. r=wtchang 2005-07-05 22:48:38 +00:00
wtchang%redhat.com
14794607bc Trivial comment fix. 2005-07-05 22:41:33 +00:00
wtchang%redhat.com
e624986eb8 Bugzilla Bug 298532: use -fPIC explicitly (which is the default). The
patch is contributed by Mark Mentovai <mark@moxienet.com>. r=wtc.
2005-07-01 00:40:07 +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
julien.pierre.bugs%sun.com
20e7c73484 Fix for 298955 - make rsaperf authenticate to hardware tokens. r=relyea 2005-06-30 20:38:33 +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
48f306e0d7 Bugzilla Bug 298532: updated for Mac 10.4u ("universal") SDK, which adds
support for Intel CPUs.  The patch is contributed by Mark Mentovai
<mark@moxienet.com>. r=wtc.
2005-06-28 21:21:05 +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
80cfefb48e 238319: Sun packages changes
Reset the rpm release to 1 for NSS 3.11
2005-06-27 18:22:02 +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
47bf55ca0f Bugzilla Bug 298409: fixed an array index off-by-one error and a memory
leak. r=nelsonb.
2005-06-24 23:00: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
wtchang%redhat.com
2540bdf095 Bugzilla Bug 298409: fixed the bug that an array size was incorrectly
calculated. r=alexei.volkov.
2005-06-23 22:05:21 +00:00
wtchang%redhat.com
3ee952cfef Bugzilla Bug 297826: add the -Zmap flag to create .map files for DLLs. The
patch is contributed by Peter Weilbacher <mozilla@Weilbacher.org>.
Reviewed by Julien Pierre and Michael Kaply.
2005-06-23 18:46:17 +00:00
sandeep.konchady%sun.com
4b431e7e5c Modified JSS/JSSE inter communication tests along with JSSPackageTest
and all.pl to use platform specific cert/keystore directory.
2005-06-23 05:59:36 +00:00
christophe.ravel.bugs%sun.com
b58c408d21 297965 - Add a marker at the end of the test result report (result.html)
r: Julien
mozilla/security/nss/tests/common/cleanup.sh
Add END_OF_TEST<BR> before </BODY>
2005-06-21 16:31:57 +00:00
christophe.ravel.bugs%sun.com
ccba0763e9 297573 - Modify JSS tests such that they access certs from platform specific directories
r: Sandeep
Force Perl to do unbuffered output to avoid having Java and
Perl output out of sync.
2005-06-21 01:17:30 +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
christophe.ravel.bugs%sun.com
5265f6fc95 297573 - Modify JSS tests such that they access certs from platform specific directories
r=Sandeep, sr=Glen
Display the result of each test case and global pass rate.
2005-06-16 23:22:46 +00:00
alexei.volkov.bugs%sun.com
cd0a03b285 fix for bug: 297015 - bltest should run multithreaded. r=julien 2005-06-16 21:11:02 +00:00
timeless%mozdev.org
e1e8f80bf3 Bug 225034 Certificate Manager Crashes Mozilla [@ nsCertTree::CmpByCrit]
patch by kaie r=timeless sr=darin a=shaver
2005-06-16 17:27:17 +00:00
timeless%mozdev.org
4f9c680880 Bug 284366 PSM needs to handle Smart Cards seamlessly
fix casting on 64bit platforms
patch by ajschult@verizon.net r=rrelyea sr=jst a=asa
2005-06-16 02:00:32 +00:00
bryner%brianryner.com
e4a343f08f Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
christophe.ravel.bugs%sun.com
743c52ba12 297573 - Modify JSS tests such that they access certs from platform specific directories
r=Sandeep, sr=Glen
Make $testdir a specific directory for each run.
2005-06-15 18:39:37 +00:00
nelsonb%netscape.com
1d7a71582a Back out last checkin, which broke the build on some platforms. 2005-06-14 05:51:51 +00:00
alexei.volkov.bugs%sun.com
d930c554f5 RFE fix 297015: bltest should run multithreaded. julien r+ 2005-06-14 01:58:22 +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
relyea%netscape.com
e5049cdcc1 Fix the license. Still bug 284366 PSM needs to handle Smart Cards seamlessly
r+sr+a=shaver
(caught by Christian persch)
2005-06-02 16:40:29 +00:00
cls%seawood.org
bb72d59741 Removing extraneous ; 2005-06-02 02:46:34 +00:00
cls%seawood.org
ef82067dee Removing extraneous ; 2005-06-02 02:39:16 +00:00
cls%seawood.org
4b37fc56d5 Pass CC down to NSS build.
Bug #93206 r=cls sr=jpierre a=shaver
2005-06-02 02:03:05 +00:00
relyea%netscape.com
3561900b87 SmartCard support checkin.
Bug 284366 "PSM needs to handle Smart Cards seamlessly" r=timeless sr=jst
a=shaver
2005-06-02 01:22:42 +00:00
relyea%netscape.com
3bf4387d1c SmartCard support checkin.
Bug 284366 "PSM needs to handle Smart Cards seamlessly" r=timeless sr=jst
a=shaver
2005-06-02 01:17:35 +00:00
relyea%netscape.com
3f035f4180 New file portion of SmartCard support checkin.
Bug 284366 "PSM needs to handle Smart Cards seamlessly" r=timeless sr=jst
a=shaver
2005-06-02 01:14:02 +00:00
relyea%netscape.com
2768114193 Mozilla Tiger build changes. Currently the mozilla branch is broken
without these changes.

Bug 292530 r=wtc (according to dougt).
Code builds agains NSS tip, verified by relyea
Patch created by Josh Aas
2005-06-01 21:00:22 +00:00
christophe.ravel.bugs%sun.com
9ba24491bc 238319: Sun packages changes.
Adjust rpm release numbers.
2005-06-01 20:51:33 +00:00
timeless%mozdev.org
8d1f420a32 Bug 283566 OOM crash [@ nsNSSCertificate::GetDbKey][@ nsNSSCertificate::GetUsagesArray]
patch by ajschult@verizon.net r=kaie sr=darin a=shaver
2005-06-01 18:30:36 +00:00
dougt%meer.net
4c7f9052d3 Add a scriptable hash function API. basically what this does is moves the hashing function out of the nsISignatureVerifier.idl and creates a new interface nsICryptoHash which is scriptable. Because of this change, we needed to fix up all of the call sites. r=darin, sr=dveditz, a=shaver 2005-06-01 16:06:53 +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
julien.pierre.bugs%sun.com
af93fc8e3b Fix crash of rsaperf on keygen failure 2005-05-24 03:54:13 +00:00
neil%parkwaycc.co.uk
5f30b6174d Stop sharing DOM object wrappers between content and chrome, specifically reporter wallet mail pki browser communicator global b=281988 r=bsmedberg sr=bz a=asa 2005-05-23 08:34:02 +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
nelsonb%netscape.com
57ecc16528 Change while read statements to work with MKS. Bug 295060. r=wtchang 2005-05-21 21:30:29 +00:00
bsmedberg%covad.net
9abe57c447 Bug 281988 - Chrome registry supports for the xpcnativewrappers=yes flag. Chrome packaging fixup to apply the xpcnativewrappers=yes flag to our application chrome packages for ffox/tbird. This also stops the repackaging of thunderbird chrome. r=mscott+bz a=drivers 2005-05-20 12:58:57 +00:00
sandeep.konchady%sun.com
81a95c5db7 Added comment to all these files indicating that the version of NSS
mustbe updated every time NSS is updated.  This helps pick the right
version of NSS for JSS builds.
2005-05-19 22:56:30 +00:00
sandeep.konchady%sun.com
73047c5d9c Modified the way MANIFEST.MF file was being generated. I now use perl
to open a file and write to it instead of execing a system command.
This is in response to build failure when rsh to a Windows machine.
2005-05-18 22:18:15 +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
wtchang%redhat.com
60fb0077f6 Bugzilla Bug 294333: enable building on Windows Me with Cygwin. Thanks
to Jacek Piskozub <piskozub@iopan.gda.pl> for reporting the bug and
verifying the fix.  r=cls,nelsonb.
2005-05-17 21:26:14 +00:00
sandeep.konchady%sun.com
dd8d873edd Modified build_java.pl to create a MANIFEST.MF file with JSS product
version information.  This is then added to xpclass(_dbg).jar using
jar -tvf in place of zip -R.

Modified all.pl to execute a new test that checks for product package
version information in jss4.jar as well as compare this to the version
of library (libjss4.so or jss4.dll) being used.  This helps in consistency
check for jss jar and associated lib.

Added a new test JSSPackaeTest.java that reads MANIFEST.MF from jss jar
to fetch product version information.
2005-05-17 21:15:12 +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
darin%meer.net
ed45f4a9f8 fixes bug 250691 "Disable LMv1 hash by default" r=cneberg, sr=bryner, a=asa 2005-05-15 17:38:58 +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
julien.pierre.bugs%sun.com
80dfaa9d1b Fix for 293091 - add double -o option to skip cert verification completely. r=nelson 2005-05-07 04:10:55 +00:00
bryner%brianryner.com
aed69207f0 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
scott%scott-macgregor.org
e45a34a9ff Bug #292776 --> Need Ability to Import CRLs from the web for apps like Thunderbird that aren't web browsers.
Add an import button which can import a CRL based on a URL.

moa/r=rrelyea
sr=bienvenu
2005-05-03 23:56:18 +00:00
julien.pierre.bugs%sun.com
543a367433 Fix for bug 292390 . Prevent crash in certutil with -P option and dbprefix omitted. 2005-04-29 21:58:49 +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
sandeep.konchady%sun.com
6b0615c933 Fix for JSSE and JSS client timeout issue
Fixed a couple of issues.
[1] Reduced JSS and JSSE server timeout from 2 min to 35 sec
[2] Added try/catch to JSSE client to detect non Sun JCA
[3] Added socket and program timeout for JSS and JSSE clients so that they exit
gracefully
[4] Split TLS and SSLv3 in seperate mothods in JSSE_SSLclient.java
2005-04-25 21:28:12 +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
nelsonb%netscape.com
91bf1ecf54 Prevent crash in certutil -C when incoming request has no attributes.
Bug 291542. r=julien.pierre
2005-04-23 02:12:00 +00:00
bsmedberg%covad.net
ec1929f65c Bug 289555 - Remove non-functional help buttons from PSM for toolkit apps r=mconnor+rrelyea a=asa 2005-04-20 10:58:06 +00:00
christophe.ravel.bugs%sun.com
7c66d1bccc 238319: Sun packages changes
Uprev rpm release to 4.
2005-04-20 00:18:27 +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
julien.pierre.bugs%sun.com
807eaf5a71 Fix for 290120. r=wtchang 2005-04-15 00:36:28 +00:00
wtchang%redhat.com
c82c09e77b Bugzilla Bug 290217: in the "gmake import" build method, import NSPR 4.6
and do not import DBM. Instead, build DBM from sources. r=relyea.
a=christophe.ravel.
Modified files: manifest.mn Makefile
2005-04-15 00:28:40 +00:00
sandeep.konchady%sun.com
f6fb7c1979 In JSSE_SSLServer.java and JSS_SSLServer.java added a timeout
mechanism to shutdown the server after 2 min. Also added
socket timeouts in JSSE_SSLClient.java and JSS_SSLClient.java
2005-04-14 17:37:49 +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
dc966bf4fc Back out fix for 290121 temporarily (until Christophe upgrades build tools) 2005-04-14 04:41:49 +00:00
wtchang%redhat.com
a2bada0039 Bugzilla bug 290233: fixed printf format related bugs reported as compiler
warnings. r=nelsonb.
Modified Files: addbuiltin.c rsaperf.c vfychain.c
2005-04-13 23:03:15 +00:00
julien.pierre.bugs%sun.com
2649255cb0 Fix for bug 290120 - compile source files with absolute pathnames on AIX. r=wtchang 2005-04-13 20:58:06 +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
1776147b6c Adding cert id and revocation indication to CRL SSL Client Tests results. 2005-04-13 00:23:09 +00:00
bzbarsky%mit.edu
3077e2ca98 Throw from our Init() method if we're already initialized, so we don't add
ourselves to various lists twice.  Bug 282784, r=kaie, sr=jst, a=asa
2005-04-12 15:25:41 +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
wtchang%redhat.com
55b75e7a5b Bugzilla Bug 289819: fixed a typo in the SEC_ERROR_EXTRA_INPUT error
message.  r=nelsonb.
2005-04-11 19:02:47 +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
nelsonb%netscape.com
f454364692 Truncate output file before writing. Bug 289817. r=julien.pierre 2005-04-11 02:48:54 +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
julien.pierre.bugs%sun.com
41b238e2b7 Fix for 288892 - fix for tstlcnt to help QA run on OS/2 . r=nelson, wtchang 2005-04-09 01:46:38 +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
764545022b decouple block size from buffer size for AES/rijndael in bltest.
Bug 289066. r=saul.edwards,rrelyea.
2005-04-06 23:19:22 +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
darin%meer.net
430b684e9c fixes bug 285991 "leak loading site from HTTPS" r=biesi sr=dbaron 2005-04-06 01:35:06 +00:00
glen.beasley%sun.com
a7873159bf 282732 read/write/accept/close thread protection 2005-04-05 20:41:46 +00:00
christophe.ravel.bugs%sun.com
0612631846 238319: Sun packages changes.
Rpm release: 3
2005-04-05 17:36:27 +00:00
bsmedberg%covad.net
844ef87b25 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 14:50:16 +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
christophe.ravel.bugs%sun.com
3c6218acb3 283383 Create JSS and JSSE client/server test programs that intercommunicates to validate ciphers
Java path and options are passed from all.pl to startJssServ.sh and
startJsseServ.sh.
2005-04-04 18:07:00 +00:00
nelsonb%netscape.com
2295f52e3f Add new -E option to test the SSL_NO_STEPDOWN option. r=julien. bug 148452. 2005-04-04 17:42:24 +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
cbiesinger%web.de
504bf13768 Bug 288011 eliminate nsISSLSocketProvider
r=darin sr=bz
2005-04-03 17:22:58 +00:00
christophe.ravel.bugs%sun.com
28d7bfd55e 283383: Create JSS and JSSE client/server test programs that intercommunicates to validate ciphers.
Fix issue with testing optimized version
Wrong jar file was taken for test with BUILD_OPT=1
2005-04-03 00:24:58 +00:00
julien.pierre.bugs%sun.com
cb30654b49 Remove unused variable 2005-04-02 06:52:04 +00:00
julien.pierre.bugs%sun.com
d8d9c318e9 Reduce unneeded warning output 2005-04-02 06:46:51 +00:00
julien.pierre.bugs%sun.com
60434802cb Add include for definition of SECU_RegisterDynamicOids 2005-04-02 06:40:30 +00:00
julien.pierre.bugs%sun.com
d7a47fe87b Remove unused variable 2005-04-02 06:38:39 +00:00
julien.pierre.bugs%sun.com
f33115f7d0 Remove dead and very bogus pre-softoken code 2005-04-02 06:33:25 +00:00
julien.pierre.bugs%sun.com
7ab19a77f5 Clean-up compiler warnings 2005-04-02 06:21:20 +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
bfae460ea7 Remove unused variable 2005-04-02 05:26:58 +00:00
julien.pierre.bugs%sun.com
e413d4ae39 Remove unused variables 2005-04-02 05:25:26 +00:00
julien.pierre.bugs%sun.com
a35532a9db Cleanup unused variables and dead code 2005-04-02 05:24:07 +00:00
julien.pierre.bugs%sun.com
85f13422bc Remove unused variable 2005-04-02 05:17:27 +00:00
alexei.volkov.bugs%sun.com
aa8a4b4b1c fix for bug 265003: selfserv.c: allow selfserv to load crls. R=julien 2005-04-02 02:29:24 +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
julien.pierre.bugs%sun.com
ae1e453088 Cleanup unused variables 2005-04-01 02:47:52 +00:00
julien.pierre.bugs%sun.com
f48776e693 Indentation fix (related to 287498) 2005-04-01 00:14:34 +00:00
julien.pierre.bugs%sun.com
9e0be5be27 Fix for 259896 - make rsaperf use PKCS#11 . and many other improvements. r=nelson 2005-03-31 23:33:51 +00:00
sandeep.konchady%sun.com
1bb3982eb2 Adding 7 java files, 2 shell scripts and modified all.pl for
bug id : 283383.

Java files added are JSS and JSSE server and clients. The purpose
of which is to intercommunicate between JSS and JSSE to validate
supported ciphers between the two.  startJss*.sh are scripts for
starting JSS and JSSE servers. These tests are added to all.pl
to run as a part of overall JSS test suite.

Currently these tests do not report errors when a cipher that is
suppose to work between JSS and JSSE fails.  I will file another
feature enhancement request to address this.
2005-03-30 22:19:56 +00:00
wtchang%redhat.com
dda0b57a91 Set NSS version to 3.10 Beta 3. 2005-03-30 00:22:36 +00:00
alexei.volkov.bugs%sun.com
e93227eb79 fix for bug 287625: rsaperf should run multithreaded 2005-03-29 22:32:22 +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
saul.edwards%sun.com
6c4afa32b5 Bug 225635 : GenerateCertRequest leaks arena 2005-03-25 21:12:05 +00:00
julien.pierre.bugs%sun.com
6ac5e73fd8 Fix for 287948 - fix overflow in calculation of ops/s 2005-03-25 02:59:07 +00:00
julien.pierre.bugs%sun.com
3b46c1cef2 Fix for bug 287498 - add option for rsaperf to run for a fixed duration, and display ops/s . 2005-03-24 23:07:40 +00:00
neil.williams%sun.com
cf193dfda4 Bug 286505 Now reports an error on EOF in standard input. Leaving resolution
unchanged until we find out why the failure is different on SPARC than on x86.
r=nelson
2005-03-19 03:36:55 +00:00
wtchang%redhat.com
cb2efbad98 Got rid of extraneous ^M characters at some line endings. 2005-03-17 21:28:40 +00:00
neil.williams%sun.com
d5d19c56f7 Bug 285208 Fixes ext processing bug introduced by previous patch.
r=nelson
2005-03-17 01:43:47 +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
neil.williams%sun.com
6c796abdc1 Bug 285208: certutil when given arguments for both -7 and -8 would create two
subjAltName extensions. Now a list single extension with both name types in
created.
r=nelson
2005-03-14 18:55:46 +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
gandalf%firefox.pl
97c98ddc3a Bug 279768: Bring build system to work with --enable-ui-locale. Security part; r=bsmedberg 2005-03-14 10:00:58 +00:00
christophe.ravel.bugs%sun.com
0f7ac130b6 238319: Sun packages changes
Uprev rpm release number.
2005-03-11 23:06:42 +00:00
bsmedberg%covad.net
e75d55a075 From bug 282057 - brand.dtd now lives in chrome://branding/locale/brand.dtd 2005-03-10 18:44:11 +00:00
bsmedberg%covad.net
3219ac4125 Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey) 2005-03-10 04:38:35 +00:00
bryner%brianryner.com
e171eaba9b Inline access to XPCWrappedNative's nsISupports pointer, with do_QueryWrappedNative nsCOMPtr helper (bug 285404). r=jst, sr=darin. 2005-03-10 00:39:28 +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
wtchang%redhat.com
3ab3b65c43 Import NSS 3.9.3 instead. We canceled the plan to release NSS 3.9.6 this
week.
2005-03-09 01:16:42 +00:00
christophe.ravel.bugs%sun.com
d6f8d3ee7b 238319: Sun packages changes.
RPM release starts at 1 for JSS 3.1.5
2005-03-08 23:54:52 +00:00
wtchang%redhat.com
81491e932a Comment formatting changes.
Modified Files: alt.c cache.c errors.c file.c manifest.mn ntgetpin.c pin.c
                pk11.c std.c svrcore.h user.c
2005-03-08 18:52:50 +00:00
wtchang%redhat.com
cc35444f78 Upgraded to NSS 3.9.6. 2005-03-08 17:37:07 +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
nelsonb%netscape.com
f6cd864211 Correctly print cert request attributes in pp. Bug 284191. r=neil.williams 2005-03-08 01:20:04 +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
ab0c4e6b32 Upgrade to NSPR 4.4.1, in preparation for the DBM 1.6.2. DBM 1.6.2 is
DBM 1.6.1 recompiled against NSPR 4.4.1.
2005-03-07 19:00:35 +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