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

Side by Side Diff: nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.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_nsscontext.c 5 * pkix_pl_nsscontext.c
6 * 6 *
7 * NSSContext Function Definitions 7 * NSSContext Function Definitions
8 * 8 *
9 */ 9 */
10 10
(...skipping 13 matching lines...) Expand all
24 * (see comments in pkix_samples_modules.h) 24 * (see comments in pkix_samples_modules.h)
25 */ 25 */
26 PKIX_Error * 26 PKIX_Error *
27 PKIX_PL_NssContext_Create( 27 PKIX_PL_NssContext_Create(
28 PKIX_UInt32 certificateUsage, 28 PKIX_UInt32 certificateUsage,
29 PKIX_Boolean useNssArena, 29 PKIX_Boolean useNssArena,
30 void *wincx, 30 void *wincx,
31 void **pNssContext) 31 void **pNssContext)
32 { 32 {
33 PKIX_PL_NssContext *context = NULL; 33 PKIX_PL_NssContext *context = NULL;
34 PRArenaPool *arena = NULL; 34 PLArenaPool *arena = NULL;
35 void *plContext = NULL; 35 void *plContext = NULL;
36 36
37 PKIX_ENTER(CONTEXT, "PKIX_PL_NssContext_Create"); 37 PKIX_ENTER(CONTEXT, "PKIX_PL_NssContext_Create");
38 PKIX_NULLCHECK_ONE(pNssContext); 38 PKIX_NULLCHECK_ONE(pNssContext);
39 39
40 PKIX_CHECK(PKIX_PL_Malloc 40 PKIX_CHECK(PKIX_PL_Malloc
41 (sizeof(PKIX_PL_NssContext), (void **)&context, NULL), 41 (sizeof(PKIX_PL_NssContext), (void **)&context, NULL),
42 PKIX_MALLOCFAILED); 42 PKIX_MALLOCFAILED);
43 43
44 if (useNssArena == PKIX_TRUE) { 44 if (useNssArena == PKIX_TRUE) {
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 { 310 {
311 void *plContext = NULL; 311 void *plContext = NULL;
312 312
313 PKIX_ENTER(CONTEXT, "PKIX_PL_NssContext_SetBadDerCrlReloadDelay"); 313 PKIX_ENTER(CONTEXT, "PKIX_PL_NssContext_SetBadDerCrlReloadDelay");
314 PKIX_NULLCHECK_ONE(nssContext); 314 PKIX_NULLCHECK_ONE(nssContext);
315 315
316 nssContext->badDerCrlReloadDelay = delay; 316 nssContext->badDerCrlReloadDelay = delay;
317 317
318 PKIX_RETURN(CONTEXT); 318 PKIX_RETURN(CONTEXT);
319 } 319 }
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.h ('k') | nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698