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_lifecycle.c | 5 * pkix_pl_lifecycle.c |
6 * | 6 * |
7 * Lifecycle Functions for the PKIX PL library. | 7 * Lifecycle Functions for the PKIX PL library. |
8 * | 8 * |
9 */ | 9 */ |
10 | 10 |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 pkix_PolicyNode_RegisterSelf(plContext); | 197 pkix_PolicyNode_RegisterSelf(plContext); |
198 pkix_TargetCertCheckerState_RegisterSelf(plContext); | 198 pkix_TargetCertCheckerState_RegisterSelf(plContext); |
199 pkix_BasicConstraintsCheckerState_RegisterSelf(plContext); | 199 pkix_BasicConstraintsCheckerState_RegisterSelf(plContext); |
200 pkix_PolicyCheckerState_RegisterSelf(plContext); | 200 pkix_PolicyCheckerState_RegisterSelf(plContext); |
201 | 201 |
202 pkix_pl_CollectionCertStoreContext_RegisterSelf(plContext); /* 41-50 */ | 202 pkix_pl_CollectionCertStoreContext_RegisterSelf(plContext); /* 41-50 */ |
203 pkix_CrlChecker_RegisterSelf(plContext); | 203 pkix_CrlChecker_RegisterSelf(plContext); |
204 pkix_ForwardBuilderState_RegisterSelf(plContext); | 204 pkix_ForwardBuilderState_RegisterSelf(plContext); |
205 pkix_SignatureCheckerState_RegisterSelf(plContext); | 205 pkix_SignatureCheckerState_RegisterSelf(plContext); |
206 pkix_NameConstraintsCheckerState_RegisterSelf(plContext); | 206 pkix_NameConstraintsCheckerState_RegisterSelf(plContext); |
| 207 #ifndef NSS_PKIX_NO_LDAP |
207 pkix_pl_LdapRequest_RegisterSelf(plContext); | 208 pkix_pl_LdapRequest_RegisterSelf(plContext); |
208 pkix_pl_LdapResponse_RegisterSelf(plContext); | 209 pkix_pl_LdapResponse_RegisterSelf(plContext); |
209 pkix_pl_LdapDefaultClient_RegisterSelf(plContext); | 210 pkix_pl_LdapDefaultClient_RegisterSelf(plContext); |
| 211 #endif |
210 pkix_pl_Socket_RegisterSelf(plContext); | 212 pkix_pl_Socket_RegisterSelf(plContext); |
211 | 213 |
212 pkix_ResourceLimits_RegisterSelf(plContext); /* 51-59 */ | 214 pkix_ResourceLimits_RegisterSelf(plContext); /* 51-59 */ |
213 pkix_pl_MonitorLock_RegisterSelf(plContext); | 215 pkix_pl_MonitorLock_RegisterSelf(plContext); |
214 pkix_pl_InfoAccess_RegisterSelf(plContext); | 216 pkix_pl_InfoAccess_RegisterSelf(plContext); |
215 pkix_pl_AIAMgr_RegisterSelf(plContext); | 217 pkix_pl_AIAMgr_RegisterSelf(plContext); |
216 pkix_OcspChecker_RegisterSelf(plContext); | 218 pkix_OcspChecker_RegisterSelf(plContext); |
217 pkix_pl_OcspCertID_RegisterSelf(plContext); | 219 pkix_pl_OcspCertID_RegisterSelf(plContext); |
218 pkix_pl_OcspRequest_RegisterSelf(plContext); | 220 pkix_pl_OcspRequest_RegisterSelf(plContext); |
219 pkix_pl_OcspResponse_RegisterSelf(plContext); | 221 pkix_pl_OcspResponse_RegisterSelf(plContext); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 } | 264 } |
263 | 265 |
264 if (plContext != NULL) { | 266 if (plContext != NULL) { |
265 PKIX_PL_NssContext_Destroy(plContext); | 267 PKIX_PL_NssContext_Destroy(plContext); |
266 } | 268 } |
267 | 269 |
268 pkix_pl_initialized = PKIX_FALSE; | 270 pkix_pl_initialized = PKIX_FALSE; |
269 | 271 |
270 PKIX_RETURN(OBJECT); | 272 PKIX_RETURN(OBJECT); |
271 } | 273 } |
OLD | NEW |