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_aiamgr.c | 5 * pkix_pl_aiamgr.c |
6 * | 6 * |
7 * AIAMgr Object Definitions | 7 * AIAMgr Object Definitions |
8 * | 8 * |
9 */ | 9 */ |
10 | 10 |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 PKIX_PL_AIAMgr *aiaMgr, | 380 PKIX_PL_AIAMgr *aiaMgr, |
381 PKIX_PL_InfoAccess *ia, | 381 PKIX_PL_InfoAccess *ia, |
382 void **pNBIOContext, | 382 void **pNBIOContext, |
383 PKIX_List **pCerts, | 383 PKIX_List **pCerts, |
384 void *plContext) | 384 void *plContext) |
385 { | 385 { |
386 PKIX_List *result = NULL; | 386 PKIX_List *result = NULL; |
387 PKIX_PL_GeneralName *location = NULL; | 387 PKIX_PL_GeneralName *location = NULL; |
388 PKIX_PL_LdapClient *client = NULL; | 388 PKIX_PL_LdapClient *client = NULL; |
389 LDAPRequestParams request; | 389 LDAPRequestParams request; |
390 PRArenaPool *arena = NULL; | 390 PLArenaPool *arena = NULL; |
391 char *domainName = NULL; | 391 char *domainName = NULL; |
392 void *nbio = NULL; | 392 void *nbio = NULL; |
393 | 393 |
394 PKIX_ENTER(AIAMGR, "pkix_pl_AIAMgr_GetLDAPCerts"); | 394 PKIX_ENTER(AIAMGR, "pkix_pl_AIAMgr_GetLDAPCerts"); |
395 PKIX_NULLCHECK_FOUR(aiaMgr, ia, pNBIOContext, pCerts); | 395 PKIX_NULLCHECK_FOUR(aiaMgr, ia, pNBIOContext, pCerts); |
396 | 396 |
397 nbio = *pNBIOContext; | 397 nbio = *pNBIOContext; |
398 *pNBIOContext = NULL; | 398 *pNBIOContext = NULL; |
399 *pCerts = NULL; | 399 *pCerts = NULL; |
400 | 400 |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 PKIX_DECREF(aiaMgr->aia); | 665 PKIX_DECREF(aiaMgr->aia); |
666 PKIX_DECREF(aiaMgr->results); | 666 PKIX_DECREF(aiaMgr->results); |
667 PKIX_DECREF(aiaMgr->client.ldapClient); | 667 PKIX_DECREF(aiaMgr->client.ldapClient); |
668 } | 668 } |
669 | 669 |
670 PKIX_DECREF(certs); | 670 PKIX_DECREF(certs); |
671 PKIX_DECREF(ia); | 671 PKIX_DECREF(ia); |
672 | 672 |
673 PKIX_RETURN(AIAMGR); | 673 PKIX_RETURN(AIAMGR); |
674 } | 674 } |
OLD | NEW |