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

Side by Side Diff: nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.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_ocsprequest.c 5 * pkix_pl_ocsprequest.c
6 * 6 *
7 */ 7 */
8 8
9 #include "pkix_pl_ocsprequest.h" 9 #include "pkix_pl_ocsprequest.h"
10 10
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 PKIX_Boolean *pURIFound, 259 PKIX_Boolean *pURIFound,
260 PKIX_PL_OcspRequest **pRequest, 260 PKIX_PL_OcspRequest **pRequest,
261 void *plContext) 261 void *plContext)
262 { 262 {
263 PKIX_PL_OcspRequest *ocspRequest = NULL; 263 PKIX_PL_OcspRequest *ocspRequest = NULL;
264 264
265 CERTCertDBHandle *handle = NULL; 265 CERTCertDBHandle *handle = NULL;
266 SECStatus rv = SECFailure; 266 SECStatus rv = SECFailure;
267 SECItem *encoding = NULL; 267 SECItem *encoding = NULL;
268 CERTOCSPRequest *certRequest = NULL; 268 CERTOCSPRequest *certRequest = NULL;
269 int64 time = 0; 269 PRTime time = 0;
270 PRBool addServiceLocatorExtension = PR_FALSE; 270 PRBool addServiceLocatorExtension = PR_FALSE;
271 CERTCertificate *nssCert = NULL; 271 CERTCertificate *nssCert = NULL;
272 CERTCertificate *nssSignerCert = NULL; 272 CERTCertificate *nssSignerCert = NULL;
273 char *location = NULL; 273 char *location = NULL;
274 PRErrorCode locError = 0; 274 PRErrorCode locError = 0;
275 PKIX_Boolean canUseDefaultSource = PKIX_FALSE; 275 PKIX_Boolean canUseDefaultSource = PKIX_FALSE;
276 276
277 PKIX_ENTER(OCSPREQUEST, "pkix_pl_OcspRequest_Create"); 277 PKIX_ENTER(OCSPREQUEST, "pkix_pl_OcspRequest_Create");
278 PKIX_NULLCHECK_TWO(cert, pRequest); 278 PKIX_NULLCHECK_TWO(cert, pRequest);
279 279
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 char **pLocation, 432 char **pLocation,
433 void *plContext) 433 void *plContext)
434 { 434 {
435 PKIX_ENTER(OCSPREQUEST, "pkix_pl_OcspRequest_GetLocation"); 435 PKIX_ENTER(OCSPREQUEST, "pkix_pl_OcspRequest_GetLocation");
436 PKIX_NULLCHECK_TWO(request, pLocation); 436 PKIX_NULLCHECK_TWO(request, pLocation);
437 437
438 *pLocation = request->location; 438 *pLocation = request->location;
439 439
440 PKIX_RETURN(OCSPREQUEST); 440 PKIX_RETURN(OCSPREQUEST);
441 } 441 }
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.c ('k') | nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698