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

Side by Side Diff: nss/lib/libpkix/pkix/top/pkix_build.c

Issue 133273035: Update third_party/nss to 3.15.5 Beta 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 6 years, 11 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 * pkix_build.c 5 * pkix_build.c
6 * 6 *
7 * Top level buildChain function 7 * Top level buildChain function
8 * 8 *
9 */ 9 */
10 10
(...skipping 1330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1341 &nbioContext, &subjPubKey, &policyTree, NULL, 1341 &nbioContext, &subjPubKey, &policyTree, NULL,
1342 plContext); 1342 plContext);
1343 1343
1344 if (nbioContext != NULL) { 1344 if (nbioContext != NULL) {
1345 *pNBIOContext = nbioContext; 1345 *pNBIOContext = nbioContext;
1346 goto cleanup; 1346 goto cleanup;
1347 } 1347 }
1348 1348
1349 ERROR_CHECK(PKIX_CHECKCHAINFAILED); 1349 ERROR_CHECK(PKIX_CHECKCHAINFAILED);
1350 1350
1351 if (state->reasonCode != 0) { 1351 /* XXX Remove this assertion after 2014-12-31. See bug 946984. */
1352 PKIX_ERROR(PKIX_CHAINREJECTEDBYREVOCATIONCHECKER); 1352 PORT_Assert(state->reasonCode == 0);
1353 }
1354 1353
1355 PKIX_CHECK(pkix_ValidateResult_Create 1354 PKIX_CHECK(pkix_ValidateResult_Create
1356 (subjPubKey, anchor, policyTree, &valResult, plContext), 1355 (subjPubKey, anchor, policyTree, &valResult, plContext),
1357 PKIX_VALIDATERESULTCREATEFAILED); 1356 PKIX_VALIDATERESULTCREATEFAILED);
1358 1357
1359 *pValResult = valResult; 1358 *pValResult = valResult;
1360 valResult = NULL; 1359 valResult = NULL;
1361 1360
1362 cleanup: 1361 cleanup:
1363 PKIX_DECREF(subjPubKey); 1362 PKIX_DECREF(subjPubKey);
(...skipping 2483 matching lines...) Expand 10 before | Expand all | Expand 10 after
3847 *pBuildResult = buildResult; 3846 *pBuildResult = buildResult;
3848 buildResult = NULL; 3847 buildResult = NULL;
3849 } 3848 }
3850 3849
3851 cleanup: 3850 cleanup:
3852 PKIX_DECREF(buildResult); 3851 PKIX_DECREF(buildResult);
3853 PKIX_DECREF(state); 3852 PKIX_DECREF(state);
3854 3853
3855 PKIX_RETURN(BUILD); 3854 PKIX_RETURN(BUILD);
3856 } 3855 }
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix/checker/pkix_crlchecker.c ('k') | nss/lib/libpkix/pkix/top/pkix_validate.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698