Commit Graph

5220 Commits

Author SHA1 Message Date
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
wtchang%redhat.com
007248241e Bugzilla Bug 221425: enable all.sh to run with Cygwin. Also fixed an
incorrect line continuation (of a tstclnt command line) in ssl.sh.
r=nelsonb,jpierre
Modified files: init.sh ssl.sh
2005-03-05 02:00:30 +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
wtchang%redhat.com
6b2e829fd5 Bugzilla Bug 282610: added a README file. Describe what svrcore is and
how it is being used.
2005-03-02 02:57:47 +00:00
wtchang%redhat.com
f8b139b297 Bugzilla Bug 282610: added the files used in conjunction with ntgetpin.c.
Modified Files: Makefile
Added Files: key.ico logo.ico ntgetpin.rc ntresource.h
2005-03-02 02:56:41 +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
wtchang%redhat.com
785a6179c4 I believe we need to define RELEASE (to svrcore) because we define RELEASE
in the top-level manifest.mn files in nss and dbm.
2005-03-02 02:29:38 +00:00
wtchang%redhat.com
644de69186 Fixed text file line endings.
Modified Files: Makefile alt.c cache.c errors.c file.c manifest.mn
        ntgetpin.c pin.c pk11.c std.c svrcore.h user.c
2005-03-01 00:27:38 +00:00
wtchang%redhat.com
2452150538 Bugzilla bug 282610: contribute the Netscape svrcore library to open
source.  This library is used by the LDAP command-line tools and some
Netscape servers.
Added Files: Makefile alt.c cache.c errors.c file.c manifest.mn ntgetpin.c
        pin.c pk11.c std.c svrcore.h user.c
2005-02-28 23:47:55 +00:00
christophe.ravel.bugs%sun.com
7cc6cea977 238319: Sun packages changes.
Add addbuiltin, pk11priv.h, pk11pub.h
2005-02-28 17:45:20 +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
darin%meer.net
c495520b94 fixes bug 283733 "accessing a relative anchor in a secure page removes the locked icon and yellow background UI" r=jst sr=dveditz 2005-02-27 06:33:35 +00:00
julien.pierre.bugs%sun.com
0923544a58 Fix for bug 283761 - use of memset in selfserv is inefficient. r=nelson 2005-02-26 04:57:32 +00:00
christophe.ravel.bugs%sun.com
7e54357dc5 238319: Sun packages changes.
Add Mozilla license.
2005-02-26 03:40:37 +00:00
christophe.ravel.bugs%sun.com
8105f005e3 238319: Sun packages changes.
Add Mozilla license.
2005-02-26 02:20:42 +00:00
bsmedberg%covad.net
361daac936 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +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
e180302d71 Bugzilla Bug 282527: fixed a bug that prevented certutil from generating
a cert with multiple DNS names in the subjectAltName extension.  The patch
is contributed by Neil Williams of Sun. r=wtc.
2005-02-23 23:44:09 +00:00
dbaron%dbaron.org
c38261d649 Clean up loop a little. b=225034 r=kaie sr=roc 2005-02-23 20:09:52 +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