OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |