Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Side by Side Diff: nss/lib/softoken/ecdecode.c

Issue 195763027: Update NSS to NSS_3_16_RC0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Use the RTM tag Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « nss/lib/pki/tdcache.c ('k') | nss/lib/softoken/fipstest.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 4
5 #ifdef NSS_ENABLE_ECC 5 #ifndef NSS_DISABLE_ECC
6 6
7 #include "blapi.h" 7 #include "blapi.h"
8 #include "secoid.h" 8 #include "secoid.h"
9 #include "secitem.h" 9 #include "secitem.h"
10 #include "secerr.h" 10 #include "secerr.h"
11 #include "ec.h" 11 #include "ec.h"
12 #include "ecl-curve.h" 12 #include "ecl-curve.h"
13 13
14 #define CHECK_OK(func) if (func == NULL) goto cleanup 14 #define CHECK_OK(func) if (func == NULL) goto cleanup
15 #define CHECK_SEC_OK(func) if (SECSuccess != (rv = func)) goto cleanup 15 #define CHECK_SEC_OK(func) if (SECSuccess != (rv = func)) goto cleanup
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 rv = EC_FillParams(arena, encodedParams, params); 596 rv = EC_FillParams(arena, encodedParams, params);
597 if (rv == SECFailure) { 597 if (rv == SECFailure) {
598 PORT_FreeArena(arena, PR_TRUE); 598 PORT_FreeArena(arena, PR_TRUE);
599 return SECFailure; 599 return SECFailure;
600 } else { 600 } else {
601 *ecparams = params;; 601 *ecparams = params;;
602 return SECSuccess; 602 return SECSuccess;
603 } 603 }
604 } 604 }
605 605
606 #endif /* NSS_ENABLE_ECC */ 606 #endif /* NSS_DISABLE_ECC */
OLDNEW
« no previous file with comments | « nss/lib/pki/tdcache.c ('k') | nss/lib/softoken/fipstest.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698