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

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

Issue 319593003: Update to NSS 3.16.2 Beta 3. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Remove unused function SEC_NumberOrNameStringToOIDTag Created 6 years, 6 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
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 #ifndef NSS_DISABLE_ECC 5 #ifndef NSS_DISABLE_ECC
6 6
7 #ifdef FREEBL_NO_DEPEND
8 #include "stubs.h"
9 #endif
10
7 #include "blapi.h" 11 #include "blapi.h"
8 #include "secoid.h" 12 #include "secoid.h"
9 #include "secitem.h" 13 #include "secitem.h"
10 #include "secerr.h" 14 #include "secerr.h"
11 #include "ec.h" 15 #include "ec.h"
12 #include "ecl-curve.h" 16 #include "ecl-curve.h"
13 17
14 #define CHECK_OK(func) if (func == NULL) goto cleanup 18 #define CHECK_OK(func) if (func == NULL) goto cleanup
15 #define CHECK_SEC_OK(func) if (SECSuccess != (rv = func)) goto cleanup 19 #define CHECK_SEC_OK(func) if (SECSuccess != (rv = func)) goto cleanup
16 20
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 if (rv == SECFailure) { 601 if (rv == SECFailure) {
598 PORT_FreeArena(arena, PR_TRUE); 602 PORT_FreeArena(arena, PR_TRUE);
599 return SECFailure; 603 return SECFailure;
600 } else { 604 } else {
601 *ecparams = params;; 605 *ecparams = params;;
602 return SECSuccess; 606 return SECSuccess;
603 } 607 }
604 } 608 }
605 609
606 #endif /* NSS_DISABLE_ECC */ 610 #endif /* NSS_DISABLE_ECC */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698