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

Side by Side Diff: nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.c

Issue 16132005: Allow NSS to be built with NO_NSPR_10_SUPPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 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 * pkix_pl_crldp.c 5 * pkix_pl_crldp.c
6 * 6 *
7 * Crl DP Object Functions 7 * Crl DP Object Functions
8 * 8 *
9 */ 9 */
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 68
69 69
70 PKIX_Error * 70 PKIX_Error *
71 pkix_pl_CrlDp_Create( 71 pkix_pl_CrlDp_Create(
72 const CRLDistributionPoint *dp, 72 const CRLDistributionPoint *dp,
73 const CERTName *certIssuerName, 73 const CERTName *certIssuerName,
74 pkix_pl_CrlDp **pPkixDP, 74 pkix_pl_CrlDp **pPkixDP,
75 void *plContext) 75 void *plContext)
76 { 76 {
77 PRArenaPool *rdnArena = NULL; 77 PLArenaPool *rdnArena = NULL;
78 CERTName *issuerNameCopy = NULL; 78 CERTName *issuerNameCopy = NULL;
79 pkix_pl_CrlDp *dpl = NULL; 79 pkix_pl_CrlDp *dpl = NULL;
80 80
81 /* Need to save the following info to update crl cache: 81 /* Need to save the following info to update crl cache:
82 * - reasons if partitioned(but can not return revocation check 82 * - reasons if partitioned(but can not return revocation check
83 * success if not all crl are downloaded) 83 * success if not all crl are downloaded)
84 * - issuer name if different from issuer of the cert 84 * - issuer name if different from issuer of the cert
85 * - url to upload a crl if needed. 85 * - url to upload a crl if needed.
86 * */ 86 * */
87 PKIX_ENTER(CRLDP, "pkix_pl_CrlDp_Create"); 87 PKIX_ENTER(CRLDP, "pkix_pl_CrlDp_Create");
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 dpl = NULL; 142 dpl = NULL;
143 143
144 cleanup: 144 cleanup:
145 if (rdnArena) { 145 if (rdnArena) {
146 PORT_FreeArena(rdnArena, PR_FALSE); 146 PORT_FreeArena(rdnArena, PR_FALSE);
147 } 147 }
148 PKIX_DECREF(dpl); 148 PKIX_DECREF(dpl);
149 149
150 PKIX_RETURN(CRLDP); 150 PKIX_RETURN(CRLDP);
151 } 151 }
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c ('k') | nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698