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

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

Issue 1504923011: Update NSS to 3.21 RTM and NSPR to 4.11 RTM (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Created 5 years 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_crl.c 5 * pkix_pl_crl.c
6 * 6 *
7 * CRL Function Definitions 7 * CRL Function Definitions
8 * 8 *
9 */ 9 */
10 10
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 * Returns a CRL Error if the function fails in a non-fatal way. 344 * Returns a CRL Error if the function fails in a non-fatal way.
345 * Returns a Fatal Error if the function fails in an unrecoverable way. 345 * Returns a Fatal Error if the function fails in an unrecoverable way.
346 */ 346 */
347 static PKIX_Error * 347 static PKIX_Error *
348 pkix_pl_CRL_ToString_Helper( 348 pkix_pl_CRL_ToString_Helper(
349 PKIX_PL_CRL *crl, 349 PKIX_PL_CRL *crl,
350 PKIX_PL_String **pString, 350 PKIX_PL_String **pString,
351 void *plContext) 351 void *plContext)
352 { 352 {
353 char *asciiFormat = NULL; 353 char *asciiFormat = NULL;
354 PKIX_UInt32 crlVersion; 354 PKIX_UInt32 crlVersion = 0;
355 PKIX_PL_X500Name *crlIssuer = NULL; 355 PKIX_PL_X500Name *crlIssuer = NULL;
356 PKIX_PL_OID *nssSignatureAlgId = NULL; 356 PKIX_PL_OID *nssSignatureAlgId = NULL;
357 PKIX_PL_BigInt *crlNumber = NULL; 357 PKIX_PL_BigInt *crlNumber = NULL;
358 PKIX_List *crlEntryList = NULL; 358 PKIX_List *crlEntryList = NULL;
359 PKIX_List *critExtOIDs = NULL; 359 PKIX_List *critExtOIDs = NULL;
360 PKIX_PL_String *formatString = NULL; 360 PKIX_PL_String *formatString = NULL;
361 PKIX_PL_String *crlIssuerString = NULL; 361 PKIX_PL_String *crlIssuerString = NULL;
362 PKIX_PL_String *lastUpdateString = NULL; 362 PKIX_PL_String *lastUpdateString = NULL;
363 PKIX_PL_String *nextUpdateString = NULL; 363 PKIX_PL_String *nextUpdateString = NULL;
364 PKIX_PL_String *nssSignatureAlgIdString = NULL; 364 PKIX_PL_String *nssSignatureAlgIdString = NULL;
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 void *plContext) 1059 void *plContext)
1060 { 1060 {
1061 PKIX_ENTER(CRL, "PKIX_PL_CRL_AquireDerCrl"); 1061 PKIX_ENTER(CRL, "PKIX_PL_CRL_AquireDerCrl");
1062 if (crl->adoptedDerCrl) { 1062 if (crl->adoptedDerCrl) {
1063 PKIX_ERROR(PKIX_CANNOTAQUIRECRLDER); 1063 PKIX_ERROR(PKIX_CANNOTAQUIRECRLDER);
1064 } 1064 }
1065 crl->adoptedDerCrl = derCrl; 1065 crl->adoptedDerCrl = derCrl;
1066 cleanup: 1066 cleanup:
1067 PKIX_RETURN(CRL); 1067 PKIX_RETURN(CRL);
1068 } 1068 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698