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

Side by Side Diff: nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.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_crlentry.c 5 * pkix_pl_crlentry.c
6 * 6 *
7 * CRLENTRY Function Definitions 7 * CRLENTRY Function Definitions
8 * 8 *
9 */ 9 */
10 10
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 * Returns an OID Error if the function fails in a non-fatal way. 211 * Returns an OID Error if the function fails in a non-fatal way.
212 * Returns a Fatal Error if the function fails in an unrecoverable way. 212 * Returns a Fatal Error if the function fails in an unrecoverable way.
213 */ 213 */
214 static PKIX_Error * 214 static PKIX_Error *
215 pkix_pl_CRLEntry_Extensions_Hashcode( 215 pkix_pl_CRLEntry_Extensions_Hashcode(
216 CERTCertExtension **extensions, 216 CERTCertExtension **extensions,
217 PKIX_UInt32 *pHashValue, 217 PKIX_UInt32 *pHashValue,
218 void *plContext) 218 void *plContext)
219 { 219 {
220 CERTCertExtension *extension = NULL; 220 CERTCertExtension *extension = NULL;
221 PRArenaPool *arena = NULL; 221 PLArenaPool *arena = NULL;
222 PKIX_UInt32 extHash = 0; 222 PKIX_UInt32 extHash = 0;
223 PKIX_UInt32 hashValue = 0; 223 PKIX_UInt32 hashValue = 0;
224 SECItem *derBytes = NULL; 224 SECItem *derBytes = NULL;
225 SECItem *resultSecItem = NULL; 225 SECItem *resultSecItem = NULL;
226 226
227 PKIX_ENTER(CRLENTRY, "pkix_pl_CRLEntry_Extensions_Hashcode"); 227 PKIX_ENTER(CRLENTRY, "pkix_pl_CRLEntry_Extensions_Hashcode");
228 PKIX_NULLCHECK_TWO(extensions, pHashValue); 228 PKIX_NULLCHECK_TWO(extensions, pHashValue);
229 229
230 if (extensions) { 230 if (extensions) {
231 231
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 pkix_pl_CRLEntry_Extensions_Equals( 386 pkix_pl_CRLEntry_Extensions_Equals(
387 CERTCertExtension **extensions1, 387 CERTCertExtension **extensions1,
388 CERTCertExtension **extensions2, 388 CERTCertExtension **extensions2,
389 PKIX_Boolean *pResult, 389 PKIX_Boolean *pResult,
390 void *plContext) 390 void *plContext)
391 { 391 {
392 CERTCertExtension **firstExtensions; 392 CERTCertExtension **firstExtensions;
393 CERTCertExtension **secondExtensions; 393 CERTCertExtension **secondExtensions;
394 CERTCertExtension *firstExtension = NULL; 394 CERTCertExtension *firstExtension = NULL;
395 CERTCertExtension *secondExtension = NULL; 395 CERTCertExtension *secondExtension = NULL;
396 PRArenaPool *arena = NULL; 396 PLArenaPool *arena = NULL;
397 PKIX_Boolean cmpResult = PKIX_FALSE; 397 PKIX_Boolean cmpResult = PKIX_FALSE;
398 SECItem *firstDerBytes = NULL; 398 SECItem *firstDerBytes = NULL;
399 SECItem *secondDerBytes = NULL; 399 SECItem *secondDerBytes = NULL;
400 SECItem *firstResultSecItem = NULL; 400 SECItem *firstResultSecItem = NULL;
401 SECItem *secondResultSecItem = NULL; 401 SECItem *secondResultSecItem = NULL;
402 PKIX_UInt32 firstNumExt = 0; 402 PKIX_UInt32 firstNumExt = 0;
403 PKIX_UInt32 secondNumExt = 0; 403 PKIX_UInt32 secondNumExt = 0;
404 SECComparison secResult; 404 SECComparison secResult;
405 405
406 PKIX_ENTER(CRLENTRY, "pkix_pl_CRLEntry_Extensions_Equals"); 406 PKIX_ENTER(CRLENTRY, "pkix_pl_CRLEntry_Extensions_Equals");
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 } 871 }
872 872
873 /* We should return a copy of the List since this list changes */ 873 /* We should return a copy of the List since this list changes */
874 PKIX_DUPLICATE(crlEntry->critExtOids, pList, plContext, 874 PKIX_DUPLICATE(crlEntry->critExtOids, pList, plContext,
875 PKIX_OBJECTDUPLICATELISTFAILED); 875 PKIX_OBJECTDUPLICATELISTFAILED);
876 876
877 cleanup: 877 cleanup:
878 878
879 PKIX_RETURN(CRLENTRY); 879 PKIX_RETURN(CRLENTRY);
880 } 880 }
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.c ('k') | nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698