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

5683 Коммитов

Автор SHA1 Сообщение Дата
timeless%mozdev.org 053abb8229 Bug 299099 remove useless references to nsVoidArray
r=kaie sr=bz
2005-12-01 04:23:37 +00:00
gavin%gavinsharp.com 70f6ede8f0 Bug 316302: remove extra whitespace from locales, and other minor fixes, patch by Hendrik Maryns <hendrik.maryns@uni-tuebingen.de>, r=bsmedberg for /mail, r=kaie for /security, r=mconnor for /toolkit 2005-11-30 03:52:11 +00:00
sandeep.konchady%sun.com f87d628db7 Bugzilla bug: 318133
Added synchronized block and isClosed for getInetAddress(),
getLocalAddress(), and getLocalPort(). sr=glen.beasley
2005-11-29 22:40:28 +00:00
jst%mozilla.jstenback.com 8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
relyea%netscape.com 77cb1d9d48 Bug 316925
Key export does not work on tokens with non-sensitive keys that can't wrap.
r=kaie
2005-11-24 00:40:14 +00:00
relyea%netscape.com 38154c250e Bug 129303
NSS needs to expose interfaces to deal with multiple token sources of certs.

r=kaie
2005-11-23 23:56:38 +00:00
relyea%netscape.com 4b7f9f6804 Bug 129303 NSS needs to expose interfaces to deal with multiple token sources of certs
r=kaie
2005-11-23 23:54:15 +00:00
sandeep.konchady%sun.com 3e057e0799 Bugzilla bug:310491
Missed some System.exit(0) and reverted SigTest.java to original format.
sr=glen.beasley
2005-11-23 23:40:26 +00:00
relyea%netscape.com cdcebb8e7e PKCS #11 module to supply Access to the Mac OS X Keychain. 2005-11-23 23:04:08 +00:00
nelsonb%netscape.com b64584ad16 Fix bug in MP_ALIGN macro that always truncated pointers to 32-bits,
even on 64-bin platforms.  Bug 298630. r=rrelyea.
2005-11-23 01:12:34 +00:00
relyea%netscape.com 2537abf9f5 Weave patch: bug 298630 r=nelson 2005-11-22 07:16:43 +00:00
nelsonb%netscape.com ac287b2f5a Begin building mpcpucache.c. On Sun Studio platforms, build from two
new .s files.  Bug 298630. r=rrelyea.
2005-11-22 07:13:32 +00:00
christophe.ravel.bugs%sun.com 0750e1e7ef Turn NSS_BETA off for NSS 3.11 RC2.
r+ Julien Pierre.
2005-11-22 01:58:35 +00:00
christophe.ravel.bugs%sun.com dc5fae9e7c Back to BETA flag on the trunk.
r+ Julien Pierre
2005-11-21 18:46:12 +00:00
christophe.ravel.bugs%sun.com 46f08a0c89 Turn NSS_BETA to FALSE for NSS 3.11 RC.
r+: Julien Pierre.
2005-11-21 04:08:44 +00:00
alexei.volkov.bugs%sun.com 1f95dbe302 53229: certutil should not use gets();
julien rv+; wan-teh sr+
2005-11-20 01:46:59 +00:00
glen.beasley%sun.com 0afeff6110 313798 AES and RC2 Mozilla-JSS fixes r=sandeep, sr=wan-teh 2005-11-19 00:20:53 +00:00
sandeep.konchady%sun.com 848f2d2a1c Bugzilla id:314098 Modified JSS_VERSION to reflect 4.0200 for 4.2 and
4.1001 for 4.10.1 when used in the constructor. Human readable values
will still be 4.2 or 4.10.1 sr=wtc
2005-11-18 22:09:39 +00:00
christophe.ravel.bugs%sun.com 9e6573e0d5 238319: Sun packages changes.
RPM_RELEASE can be set from the command line.
2005-11-18 21:52:41 +00:00
nelsonb%netscape.com 94fdf98965 Initialize slot pointer in ssl3_HandleServerHello. Bug 311590. r=wtchang 2005-11-18 01:25:20 +00:00
nelsonb%netscape.com 719073fb14 Restore binary compatilibity for old Fortezza cipher suites.
Bug 316640. r-glen.beasley
2005-11-18 01:21:22 +00:00
glen.beasley%sun.com 674c455c2e 311934 socket port values are hard coded in the tests sr=sandeepK 2005-11-17 18:34:31 +00:00
wtchang%redhat.com c0f9d272c7 Bugzilla Bug 292427: on Windows, search in $(DIST)/lib before $(DIST)/bin
because in a Mozilla build $(DIST)/bin may contain old copies of the NSS
DLLs. r=relyea,jpierre.
2005-11-16 02:17:36 +00:00
wtchang%redhat.com f16cac385e Upgraded to NSPR 4.6 and NSS 3.10.2. 2005-11-16 01:46:01 +00:00
relyea%netscape.com a8e0c27896 Handle nicknames on certificates.
Fix bug where we weren't allocating enough space for wchar (wide, utf16, etc).
strings in ckcapi_UTF8ToWide().
2005-11-16 01:17:25 +00:00
neil.williams%sun.com 15d70374a3 Bug 315135, pk12util -w <non-existent pwfile> causes seg fault.
r=nelson
2005-11-16 00:59:18 +00:00
wtchang%redhat.com 0ddc82f39a Bugzilla bug 316594: print the value of the BUILD_OPT environment
variable. r=sandeep.konchady. sr=glen.beasley.
2005-11-16 00:01:32 +00:00
nelsonb%netscape.com f3033246a0 Eliminate leak and heap buffer overrun. Bug 315994. r=julien, sr=rrelyea 2005-11-15 23:40:18 +00:00
julien.pierre.bugs%sun.com 77223c1981 fix for bug 316446 . -z defs option was included twice in linker line . r=nelson 2005-11-15 19:01:18 +00:00
wtchang%redhat.com 32d9fe89fe Bugzilla Bug 312202: use the _32 tag in 32-bit HP-UX IPF builds. Use the
$ORIGIN linker keyword when building shared libraries and executable
programs on HP-UX IPF. r=nelsonb.
Modified Files: coreconf/HP-UX.mk nss/cmd/platlibs.mk
2005-11-15 18:19:18 +00:00
relyea%netscape.com 89daf52413 New pk11util scripts. 2005-11-15 01:53:44 +00:00
relyea%netscape.com 868598f26a Add loops, conditionals and simple math. 2005-11-15 01:49:01 +00:00
julien.pierre.bugs%sun.com 59d85a9b9a Fix for bug 232604. don't open DBs in user's directory in shlibsign. r=nelson 2005-11-15 00:34:39 +00:00
gavin%gavinsharp.com 2b0f7108e1 Bug 251123, change "Signed by" in security tooltip to "Authenticated by", to be consistent and more correct, patch by kengert@redhat.com, r=beltzner, sr=dveditz 2005-11-15 00:17:16 +00:00
relyea%netscape.com af1573d374 Add r/w support. The Capi token can now:
Import certs and keys.
  Delete certs and keys.
2005-11-15 00:13:58 +00:00
gavin%gavinsharp.com c68c0a3427 Bug 251123: HTTPS lock icon does not explain mixed secure/non-encrypted icon when hovering, r=kaie+beltzner, sr=dveditz 2005-11-15 00:13:36 +00:00
sandeep.konchady%sun.com e5e6b59c19 Bugzilla bug: 310491
Added System.exit(0) and System.exit(1) where appropriate.  Also removed
references to deprecated code and deprecated the test SigTest.java. This
is now replaced by JCASigTest.java. sr=Glen.Beasley
2005-11-14 23:23:13 +00:00
wtchang%redhat.com 897e7f1f64 Bugzilla Bug 315496: expose the ability to create sensitive or insensitve
symmetric keys and public/private key pairs.  The patch is contributed by
Thomas Kwan of Red Hat. r=wtc. sr=glen.beasley.
Modified Files:
	org/mozilla/jss/crypto/KeyGenerator.java
	org/mozilla/jss/crypto/KeyPairGenerator.java
	org/mozilla/jss/crypto/KeyPairGeneratorSpi.java
	org/mozilla/jss/pkcs11/PK11KeyGenerator.c
	org/mozilla/jss/pkcs11/PK11KeyGenerator.java
	org/mozilla/jss/pkcs11/PK11KeyPairGenerator.c
	org/mozilla/jss/pkcs11/PK11KeyPairGenerator.java
2005-11-14 22:15:06 +00:00
sandeep.konchady%sun.com c20c35ab39 Bugzilla bug: 314098
Rounding of double(4) + double(1)/10 to two decimal places gives 4.21.
Fixed this issue.  sr=glen.beasley
2005-11-14 21:37:32 +00:00
dbaron%dbaron.org 3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
julien.pierre.bugs%sun.com ef1384c27b Fix for bug 316250. crmftest doesn't build on OS/2. Add LIB_PREFIX . 2005-11-14 00:17:21 +00:00
julien.pierre.bugs%sun.com f82a46ec10 Fix for bug 316219. Don't build an import library on OS/2. r=wtchang 2005-11-14 00:13:41 +00:00
julien.pierre.bugs%sun.com 4f35393d59 Fix for bug 286685. rename SFTK symbols to SECMOD. r=rrelyea, nelson 2005-11-12 00:14:25 +00:00
julien.pierre.bugs%sun.com c5d6929c9f Fix for bug 286685. rename SFTK symbols to SECMOD. r=rrelyea, nelson 2005-11-11 23:36:33 +00:00
bsmedberg%covad.net 78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
kaie%kuix.de 01e04345d6 bug 265991, Can't import a pfx file encrypted with an empty password
r=wtchang, sr=dveditz
2005-11-11 13:28:56 +00:00
julien.pierre.bugs%sun.com 7c97b65b2b Fix for bug 315033 . Remove dead command-line tool sources. r=nelson 2005-11-11 04:02:16 +00:00
julien.pierre.bugs%sun.com f0de63d8ed Fix for 292156. Prevent crash in SSL session cache init if invalid arguments are passed. r=nelson 2005-11-11 02:45:59 +00:00
julien.pierre.bugs%sun.com e5fca3df1d Fix for bug 292156. Add -C SSLCacheEntries option to selfserv. r=nelson 2005-11-11 02:44:56 +00:00
julien.pierre.bugs%sun.com 15a23c7092 Fix for 166727 . certutil should not call CERT_GetDBContentVersion. r=nelson 2005-11-10 21:18:26 +00:00
julien.pierre.bugs%sun.com f98d49a913 Remove dead config.mk files for modutil and ssltap. Fix for 294720. r=nelson 2005-11-10 03:00:05 +00:00
julien.pierre.bugs%sun.com 7e9a679a65 Resolve symlinks when loader freebl shared libs, and limit iterations to 20. r=wtchang 2005-11-10 02:18:22 +00:00
kaie%kuix.de 0fdc7201d3 bug 126601, "Web" should be "web" in Master Password pref panel
patch by Henrik Lynggaard Hansen, working change only, r=brendan, r=kengert
2005-11-09 15:32:24 +00:00
wtchang%redhat.com 560f560f03 Bugzilla Bug 311432: renamed USE_FP_CODE as ECL_USE_FP. Do not set
ECL_USE_FP to 1 on Linux x86 to work around the bug.  Moved a dependency
rule to the appropriate section of the makefile. r=nelsonb.
2005-11-08 22:03:17 +00:00
wtchang%redhat.com 4c003bfe53 Improved a comment. Suggested by Nelson Bolyard of Sun. r=wtc. 2005-11-08 22:00:46 +00:00
kaie%kuix.de df2f98120c bug 200119, crash when I shutdown (StopCRLUpdateTimer) [@ nsHashtable::Reset ]
r=darin, sr=bienvenu
2005-11-08 17:49:52 +00:00
alexei.volkov.bugs%sun.com 71d67849a3 fix for 313680: add missing TLS cipher types to SSLTAP. r=nelson 2005-11-07 23:54:33 +00:00
christophe.ravel.bugs%sun.com e748b37142 238319: Sun packages changes
Set rpm release to 2 for NSS 3.11
2005-11-07 20:20:10 +00:00
christophe.ravel.bugs%sun.com d348103b57 238319: Sun packages changes
Reset rpm release to 1 for JSS 4.2
2005-11-07 20:19:05 +00:00
wtchang%redhat.com ff785bd766 Bugzilla Bug 298522: added power-up self tests for HMAC SHA-384 and HMAC
SHA-512.  The patch was written by Glen Beasley of Sun. r=wtc.
2005-11-07 19:05:45 +00:00
wtchang%redhat.com 4029572119 Bugzilla bug 313196: include the minimal headers. 2005-11-07 19:00:58 +00:00
wtchang%redhat.com 126f513f21 Bugzilla Bug 313196: checked in a header inclusion change that I missed in
the previous checkin.
2005-11-07 18:48:39 +00:00
wtchang%redhat.com 1714be323f Bugzilla Bug 313196: HMAC code should not use a fixed hash input block size
of 64 bytes, which is wrong for SHA-384 and SHA-512.  This requires adding
the hash input block size to the SECHashObject structure. r=relyea,nelsonb
Modified Files:
	cryptohi/hasht.h cryptohi/sechash.c freebl/alghmac.c
	freebl/blapit.h freebl/rawhash.c
2005-11-07 18:44:21 +00:00
wtchang%redhat.com d576bf2833 Replaced the magic constant 20 by SHA1_LENGTH. Use sizeof(buffer) to
be more robust. r=nelsonb
2005-11-05 01:00:14 +00:00
relyea%netscape.com ce75b22933 replace missing header files. 2005-11-04 23:44:19 +00:00
glen.beasley%sun.com 4c538f769b 313176 jss version 4.2 because JSS needs NSS 3.11 and up for bypass sr=sandeep 2005-11-04 23:16:43 +00:00
wtchang%redhat.com 1ce181b01e Bugzilla Bug 311958: Update the nssckbi versions for NSS 3.11. r=relyea. 2005-11-04 22:51:55 +00:00
julien.pierre.bugs%sun.com 799adefa45 Move ret_cr16.s from util to freebl. r=nelsonb 2005-11-04 04:11:04 +00:00
relyea%netscape.com 3597080dab Initial CAPI PKCS #11 Module.
Needs the updated ckfw.
2005-11-04 02:05:04 +00:00
wtchang%redhat.com 898c89fc45 Bugzilla Bug 298512: Ensure the seed and seed key input for RNG do not have
same value for FIPS 140-2. r=nelsonb.
2005-11-04 01:07:30 +00:00
julien.pierre.bugs%sun.com f1c5542df0 Remove dead files. r=wtchang 2005-11-04 01:02:50 +00:00
julien.pierre.bugs%sun.com bd999cb1b2 Remove nmake Makefiles and references to them. r=nelson 2005-11-04 01:01:37 +00:00
julien.pierre.bugs%sun.com 4fb160cf44 Remove dead files. r=wtchang 2005-11-04 00:48:41 +00:00
glen.beasley%sun.com 3033b29443 311934 added PORT_JSSE_SERVER and PORT_JSSE_SERVER plus testing bypass r=sandeep 2005-11-03 23:30:38 +00:00
glen.beasley%sun.com 972005ad9a 313176 allow JSS to enable more NSS SSLOptions r=wtc, sr=nelson 2005-11-03 23:09:26 +00:00
kaie%kuix.de f242eb6db4 fix bug 252436, non-ascii characters not recognized by master password dialog
r=dbaron, sr=shaver
2005-11-03 11:25:53 +00:00
sandeep.konchady%sun.com d4966d18a9 Bugzilla id: 314583, removed linking of JVM to JSS library and replaced
reference to classes.zip with rt.jar.
2005-11-03 00:11:59 +00:00
bsmedberg%covad.net 9f17e5b53d Bug 314821 - stop building dist/gre because nobody uses it and all plans to use it have evaporated, r=cls+dougt 2005-11-02 21:50:36 +00:00
wtchang%redhat.com e5bbe64221 Import NSPR 4.6 and NSS 3.10.2 temporarily. We will import NSPR 4.6.1
and NSS 3.11 when they are released.
2005-11-01 19:00:12 +00:00
wtchang%redhat.com 5ae998a3cd Bugzilla Bug 308242: expose the opFlags and the temporary/permanent
attributes of PK11_TokenKeyGenWithFlags. r=glen.beasley.
Modified Files:
	crypto/KeyGenerator.java crypto/SymmetricKey.java
	pkcs11/PK11KeyGenerator.c pkcs11/PK11KeyGenerator.java
2005-11-01 18:38:47 +00:00
julien.pierre.bugs%sun.com da619f8dec Fix for 314115 . Comments about QuickDER and classic ASN.1 decoders relating to SECItem.type field 2005-10-31 18:52:20 +00:00
julien.pierre.bugs%sun.com 3e221bfb46 Fix for 314115 - QuickDER modifies SECItem.type while decoding. r=wtchang 2005-10-31 18:34:42 +00:00
neil%parkwaycc.co.uk 7fe9ea373d Bug 289444 Adding access keys p=giacomo.magnini@portalis.it r=kaie sr=me 2005-10-30 11:21:44 +00:00
sandeep.konchady%sun.com b851582ca9 Bugzila bug : 314098 Changed Double to Double.doubleValue() in constructing java.Security.Provider(). sr=wtc 2005-10-28 22:22:44 +00:00
cvshook%sicking.cc 64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
sandeep.konchady%sun.com 99af98bd06 Bugzilla bug : 314098. Modified JSS provider version to 4.1.1 in
JSSProvider.java. Reflected this information in all places that needs
to be changed when there is a change in JSS version. r=wtc
2005-10-28 04:21:16 +00:00
wtchang%redhat.com 2d980ccd93 Bugzilla bug 314089: On HP-UX, use rt.jar instead of classes.zip; for JDK
1.4 or later use the "server" JVM.  Fixed an error in the pathname of
rt.jar for Linux. r=sandeep.konchady.
2005-10-28 00:20:38 +00:00
wtchang%redhat.com e9ee302906 Bugzilla Bug 302212: set DARWIN_SDK_DSOFLAGS and pass -F arguments to ld
when GCC <= 3.  Contributed by Mark Mentovai <mark@moxienet.com>. r=wtc.
2005-10-28 00:06:56 +00:00
wtchang%redhat.com 8732358f93 Bugzilla bug 239960: cvs removed cmd/swfort. r=relyea. 2005-10-27 22:49:22 +00:00
wtchang%redhat.com 63eff804d1 Bugzilla Bug 308242: added the extractablePairs method to KeyPairGenerator
to make the new PK11_ATTR_EXTRACTABLE/PK11_ATTR_UNEXTRACTABLE flags of the
new PK11_GenerateKeyPairWithFlags function available to JSS.  r=nkwan.
sr=glen.beasley.
Modified Files:
        crypto/KeyPairGenerator.java crypto/KeyPairGeneratorSpi.java
        pkcs11/PK11KeyPairGenerator.c pkcs11/PK11KeyPairGenerator.java
2005-10-27 20:47:26 +00:00
wtchang%redhat.com 40145d9911 Bugzilla Bug 302212: allow Mac OS X x86 builds to target SDKs. The patch
was written by Mark Mentovai <mark@moxienet.com>. r=joshmoz. sr=bryner.
Modified Files:
	configure.in config/autoconf.mk.in config/config.mk
	extensions/java/xpcom/tools/xpidl/Makefile.in
	security/manager/Makefile.in xpcom/typelib/xpidl/Makefile.in
2005-10-26 19:01:18 +00:00
wtchang%redhat.com b5bdaf152c Bugzilla Bug 302212: allow Mac OS X x86 builds to target SDKs. The patch
is contributed by Mark Mentovai <mark@moxienet.com>. r=wtc,joshmoz.
2005-10-26 17:00:07 +00:00
darin%meer.net 41f1ce15e8 fixes bug 271194 "When going from a secure to a non-secure page without clicking a button in the security dialog, the non-secure page appears as secure" patch by kai, r=dveditz, sr=darin 2005-10-21 18:33:26 +00:00
wtchang%redhat.com 8e70cf6f2e Bugzilla bug 298522: added power-up self tests for HMAC SHA-1 and HMAC
SHA-256.  The patch is contributed by Glen Beasley of Sun. r=wtc.
2005-10-20 21:46:51 +00:00
wtchang%redhat.com 7b145dd9ac Bugzilla bug 312774: support building and running the test with IBM JDK.
Removed the class name and provider name of the SUN provider.  Instead,
we compare our message digest result with the result of all providers that
support the message digest algorithm.  The patch is contributed by Rich
Megginson of Red Hat and improved by Glen Beasley of Sun. r=wtc.
2005-10-19 01:17:44 +00:00
wtchang%redhat.com 5d658b3517 Build fipstest. 2005-10-19 01:14:20 +00:00
julien.pierre.bugs%sun.com c3b3a7e2c1 Add dependency on freebl so ssl will rebuild if freebl has changed. 2005-10-19 01:04:16 +00:00
julien.pierre.bugs%sun.com 4c37a26617 Add dependency on freebl so softoken will rebuild if freebl has changed. 2005-10-19 01:03:31 +00:00
wtchang%redhat.com cc8b26183b Added a shell script for running the NIST AES Algorithm Validation Suite. 2005-10-19 00:55:20 +00:00
wtchang%redhat.com 41c3b79ae3 Bugzilla bug 312774: support building with IBM JDK on Linux. Added -L
linker flags for IBM JDK's pathnames.  The patch is contributed by Rich
Megginson of Red Hat. r=wtc,glen.beasley.
2005-10-18 22:36:19 +00:00
darin%meer.net a6f6369c29 fixes bug 304286 "Certificate failures during automatic check for updates should not give user choice to connect anyway" r=biesi sr=dveditz 2005-10-15 02:46:06 +00:00
wtchang%redhat.com d2dee7d603 Bugzilla Bug 312395: Added FIPS AES Known Answer Test, Multi-block Message
Test, and Monte Carlo Test in ECB and CBC modes.  Also changed the types
of some variables from int to unsigned int to fix compiler warnings about
signed/unsigned comparisons.
2005-10-14 20:04:39 +00:00
wtchang%redhat.com e58492ea00 Bugzilla bug 311440: ssl3_ConsumeHandshakeVariable now longer returns a
SECItem pointing to memory allocated with PORT_Alloc, so we don't need to
use PORT_Free to free the SECItem's buffer.  r=nelsonb.
2005-10-14 16:48:58 +00:00
wtchang%redhat.com b957c8d0a7 Bugzilla Bug 312202: checked in HP-UX IPF (Itanium) porting changes
contributed by Grace Lu of HP.  Use the .so suffix for shared libraries
on HP-UX IPF.  Support building on HP-UX B.11.23. r=wtc.
Modified Files:
	coreconf/HP-UX.mk nss/lib/nss/nssinit.c
Added Files:
	coreconf/HP-UXB.11.23.mk
2005-10-12 19:04:13 +00:00
wtchang%redhat.com 2193d926c7 Bugzilla Bug 302998: disallow x=0,1 and k=0. r=nelsonb. 2005-10-12 00:48:25 +00:00
neil.williams%sun.com 8657972540 CBug 290263, patch CERT_CreateCertificateRequest for doing extensions
r=bob
`VS: ----------------------------------------------------------------------
2005-10-12 00:10:17 +00:00
wtchang%redhat.com b0f84afae7 Bugzilla Bug 311074: cvs removed the unused nfspwd.pl script (which only
worked on the old Netscape intranet). r=relyea.
Modified Files: OS2.mk command.mk rules.mk
Removed Files: nsinstall/nfspwd nsinstall/nfspwd.pl
2005-10-10 23:46:13 +00:00
relyea%netscape.com f8422acc69 Attempt to fix HPUX test failures.
Bug 311279 crmftest core dumps on HP-UX
(verbal) r=wtc
2005-10-08 00:57:31 +00:00
wtchang%redhat.com 491b4ef092 Bugzilla Bug 304360: generate ECC key with private key value less than the
group order using a combination of ANSI X9.62 A.4.1 and FIPS 186-2 Change
Notice 1.  Also changed structure of EC key generation functions to match
the scheme used in dsa.c.  The patch is contributed by Douglas Stebila
<douglas@stebila.ca> of Sun Labs. r=wtc.
2005-10-06 23:16:20 +00:00
wtchang%redhat.com 81299cbc68 Bugzilla Bug 257693: set the correct error code in EC_ValidatePublicKey.
Documented the return values of ECPoint_validate.  Have the tests compare
the return value of ECPoint_validate with MP_NO for negative test cases.
r=doublas.stebila.
Modified Files:
	ec.c ecl/ecl.h ecl/tests/ec2_test.c ecl/tests/ecp_test.c
2005-10-06 21:42:55 +00:00
wtchang%redhat.com a548d37af0 Bugzilla Bug 311074: removed the unused nfspwd Perl script from TARGETS,
which caused "gmake clean" to break on a read-only source tree.  The patch
is contributed by Benjamin Smedberg <benjamin@smedbergs.us>. r=wtc.
2005-10-05 22:25:37 +00:00
wtchang%redhat.com d420dda744 Bugzilla bug 259135: fixed build breakage. In C, declarations must precede
code.
2005-10-05 22:03:14 +00:00
wtchang%redhat.com 002c9cc505 Bugzilla bug 259135: minor comment fix. 2005-10-05 17:58:01 +00:00
glen.beasley%sun.com 2ae43f58d5 171027 removed deprecated code from tests ran by all.pl sr=sandeep 2005-10-05 17:09:03 +00:00
glen.beasley%sun.com 814a61d561 259135 added SHA 256,384,512 and AES powerupself tests sr=Wan-Teh 2005-10-05 16:31:01 +00:00
relyea%netscape.com b0d1e52691 Back out non-reviewed strictly white space change in pk11sdr.c 2005-10-04 01:11:01 +00:00
wtchang%redhat.com 1a02e7736f Made the test compile and link without errors. 2005-10-04 00:46:50 +00:00
wtchang%redhat.com 775508c3c2 Fixed test file line endings. This file must be considered part of the
NSS module because it needs the private NSS header blapi.h.
2005-10-04 00:35:51 +00:00
wtchang%redhat.com 3fad97d84a Fixed test file line endings. 2005-10-04 00:28:55 +00:00
wtchang%redhat.com 058312eaa6 Bugzilla bug 310518: map CKR_PIN_INVALID and CKR_PIN_LEN_RANGE to
SEC_ERROR_INVALID_PASSWORD instead of SEC_ERROR_BAD_PASSWORD. r=relyea.
2005-10-03 22:41:45 +00:00
relyea%netscape.com 2fcee3f720 remove depricated mechanisms so pk11table continues to build. 2005-10-03 22:19:43 +00:00
relyea%netscape.com 5c3685a18e Bug 272484 Certificate manager crashes [@ _PR_MD_ATOMIC_DECREMENT - PK11_FreeSymKey]
r=wtc [part 3 of 3]
2005-10-03 22:01:57 +00:00
relyea%netscape.com 0cefb4acd8 Bug 272484 Certificate manager crashes [@ _PR_MD_ATOMIC_DECREMENT - PK11_FreeSymKey]
r=wtc [part 2 of 3]
2005-10-03 22:00:22 +00:00
relyea%netscape.com 0223a07982 This change was not part of bug 272484 and has not been reviewed.
Back it out.
2005-10-03 21:58:24 +00:00
relyea%netscape.com 53f4189369 Bug 272484 Certificate manager crashes [@ _PR_MD_ATOMIC_DECREMENT - PK11_FreeSymKey]
The problem only happens if we try to import a key into a token which then fails
to import. The basic issue was a hack in the pkcs 7 code to support PKCS 12, A
special structure was used to replace the SymKey structure, and the code 'knew'
the special structure existed before it dealt with the symkey. The fix addes a
new capability to symkeys, where applications can attach application specific
data to the key structure. PKCS 12 uses this to attache the PBE information
for CMS. (part 1 of 3)

This patch also improves the key's reuse of sessions, so sessions are not thrashed
when SSL is used with them.

r=wtc
2005-10-03 21:55:29 +00:00
bugzilla%arlen.demon.co.uk a2056d8b42 Bug 309542 Fix a11y problems and crop="right" is deprecated in page info dialog
p=me r=db48x sr=neil.parkwaycc.co.uk
2005-10-02 00:09:37 +00:00
wtchang%redhat.com 5d52123474 Bugzilla Bug 294106: removed an assertion that's no longer necessary.
Added buffer length error checking to back up an assertion. r=nelsonb.
2005-09-30 22:01:46 +00:00
relyea%netscape.com bb7e1cb9f9 Bugzilla Bug 244922 ASN.1 encoder outputs trash for optional may-stream subtemplate
r=nelson (original patch by nelson, modifications by me).
2005-09-30 19:22:48 +00:00
christophe.ravel.bugs%sun.com f25e5155ef 238319: Sun packages changes.
Add an extra line to the copyright file to have the same as NSS and NSPR.
2005-09-30 01:56:59 +00:00
relyea%netscape.com b354997d97 Bug 119500 PKCS#11 CKF_PROTECTED_AUTHENTICATION_PATH token flag not supported
wtc's review r=wtc
2005-09-29 23:44:39 +00:00
wtchang%redhat.com 5c38b2d572 Bugzilla Bug 294106: dsa.c: use const in the function prototype of
DSA_GenerateGlobalRandomBytes.  prng_fips1861.c: implemented Algorithm 1
of FIPS 186-2 Change Notice 1 and increased the size (b) of the RNG's
seed-key from 160 bits to 256 bits. r=relyea,nelsonb.
2005-09-29 23:22:53 +00:00
relyea%netscape.com 952e8e8f45 Tests won't pass if we don't build crmftest 2005-09-29 22:01:52 +00:00
relyea%netscape.com f07ca5cfef Bug 308887 CRMF request generation problem when using latest firefox
Add crmf tests to the test suite.
2005-09-29 21:36:42 +00:00
relyea%netscape.com 9c9cecb9d7 Bugzilla Bug 119500 PKCS#11 CKF_PROTECTED_AUTHENTICATION_PATH token flag not supported
r=nelson

This is only the NSS portion of this patch. The PSM portion will be checked in once the
NSS portion is mainlined to mozilla.
2005-09-29 21:00:58 +00:00
sandeep.konchady%sun.com 913985ea4b Bugzilla Bug 164692 SSL ops that timeout should throw
java.net.SocketTimeoutException. sr=Glen.Beasley
2005-09-29 18:48:34 +00:00
wtchang%redhat.com fc511c7607 Bug 271317, remove the old fortezza code 2005-09-29 18:09:11 +00:00
relyea%netscape.com 93e1f22027 Bugzilla Bug 298630 freebl needs a memory cache invariant RSA implementation.
r=nelson
2005-09-29 17:17:09 +00:00
relyea%netscape.com b8917d3493 Add better tests for detached signatures. Actually test the other sha
variants rather than just say we do. done in the context of bug 30887
r=nelson
2005-09-29 17:14:19 +00:00
smontagu%smontagu.org 159e0a2eab Make the dates shown in the Expired Certificate alert have consistent (short) format. Bug 246905, patch by Constantine A. Murenin <cnst+bmo@bugmail.mojo.ru>, r=jgmyers, sr=brendan 2005-09-29 08:41:22 +00:00
relyea%netscape.com 665d2accd1 Bug 271317, remove the old fortezza code 2005-09-29 00:36:53 +00:00
relyea%netscape.com 8d4f93463a Internal NSS defines shared between softoken and the rest of NSS, but not
exported.

added as part of bug 305697.
2005-09-28 23:52:59 +00:00
wtchang%redhat.com 6fe5b3ee79 Bugzilla Bug 310336: support building on Windows Server 2003.
r=Sandeep.Konchady.
2005-09-28 23:14:44 +00:00
relyea%netscape.com c4abacd281 Bug 305697 Softoken needs to give on the fly access to additional databases. Part 2, User interface
r=julien
2005-09-28 17:17:49 +00:00
relyea%netscape.com e35607b9c4 bug 305697: open additional database on the fly in softoken. part1: softoken changes.
r=julien
2005-09-28 17:12:17 +00:00
nelsonb%netscape.com ac626ee74e Avoid NULL ptr deref. Bug 310260. patch by Glen.Beasley. r=nelson. 2005-09-28 07:55:37 +00:00
wtchang%redhat.com 3a398b46ec Bugzilla bug 298045: when importing a package of CA certs, display and ask
the user to trust the root most CA (instead of the leaf most CA) in the
package.  Also make sure that the cert is indeed a CA cert.  r=kaie,relyea.
sr=sfraser.
2005-09-26 22:43:22 +00:00
neil.williams%sun.com 7b415783ba Bug 303508, committing attachment 196965. r=nelson,saul 2005-09-23 02:15:03 +00:00
nelsonb%netscape.com abc6a22d68 Eliminate environment variable SSLNOLOCKS, add environment variable
SSLFORCELOCKS. Make SSL_FDX option mutually exclusive with SSL_NOLOCKS
option.  Bug 305147. r=rrelyea.
2005-09-23 01:04:32 +00:00
nelsonb%netscape.com facd708671 Don't crash when printing an ASN.1 NULL primitive with a NULL prefix
string.  Bug 309651. r=wtchang.
2005-09-22 22:45:32 +00:00
wtchang%redhat.com 343315772e Bugzilla bug 309640: replaced the French accented a (�) with ASCII a
because IBM JDK can't handle that 8-bit character in UTF8 locales.  The
patch is contributed by Rich Megginson of Red Hat. r=wtc,glen.beasley.
2005-09-22 17:58:35 +00:00