| Index: net/third_party/nss/ssl/derive.c
|
| ===================================================================
|
| --- net/third_party/nss/ssl/derive.c (revision 196870)
|
| +++ net/third_party/nss/ssl/derive.c (working copy)
|
| @@ -4,7 +4,7 @@
|
| * This Source Code Form is subject to the terms of the Mozilla Public
|
| * License, v. 2.0. If a copy of the MPL was not distributed with this
|
| * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
| -/* $Id: derive.c,v 1.16 2012/06/11 02:38:30 emaldona%redhat.com Exp $ */
|
| +/* $Id$ */
|
|
|
| #include "ssl.h" /* prereq to sslimpl.h */
|
| #include "certt.h" /* prereq to sslimpl.h */
|
| @@ -764,8 +764,9 @@
|
| requiredECCbits = signatureKeyStrength;
|
|
|
| ec_curve =
|
| - ssl3_GetCurveWithECKeyStrength(SSL3_SUPPORTED_CURVES_MASK,
|
| - requiredECCbits);
|
| + ssl3_GetCurveWithECKeyStrength(
|
| + ssl3_GetSupportedECCCurveMask(NULL),
|
| + requiredECCbits);
|
| rv = ssl3_ECName2Params(NULL, ec_curve, &ecParams);
|
| if (rv == SECFailure) {
|
| break;
|
|
|