Home | History | Annotate | Download | only in libldap

Lines Matching defs:lts

211 	struct ldaptls lts = lo->ldo_tls_info;
218 if ( is_server && !lts.lt_certfile && !lts.lt_keyfile &&
219 !lts.lt_cacertfile && !lts.lt_cacertdir &&
220 !lts.lt_cacert.bv_val && !lts.lt_cert.bv_val &&
221 !lts.lt_key.bv_val ) {
228 if ( lts.lt_ciphersuite ) {
229 lts.lt_ciphersuite = LDAP_STRDUP( lts.lt_ciphersuite );
230 __atoe( lts.lt_ciphersuite );
232 if ( lts.lt_cacertfile ) {
233 lts.lt_cacertfile = LDAP_STRDUP( lts.lt_cacertfile );
234 __atoe( lts.lt_cacertfile );
236 if ( lts.lt_certfile ) {
237 lts.lt_certfile = LDAP_STRDUP( lts.lt_certfile );
238 __atoe( lts.lt_certfile );
240 if ( lts.lt_keyfile ) {
241 lts.lt_keyfile = LDAP_STRDUP( lts.lt_keyfile );
242 __atoe( lts.lt_keyfile );
244 if ( lts.lt_crlfile ) {
245 lts.lt_crlfile = LDAP_STRDUP( lts.lt_crlfile );
246 __atoe( lts.lt_crlfile );
248 if ( lts.lt_cacertdir ) {
249 lts.lt_cacertdir = LDAP_STRDUP( lts.lt_cacertdir );
250 __atoe( lts.lt_cacertdir );
252 if ( lts.lt_dhfile ) {
253 lts.lt_dhfile = LDAP_STRDUP( lts.lt_dhfile );
254 __atoe( lts.lt_dhfile );
256 if ( lts.lt_ecname ) {
257 lts.lt_ecname = LDAP_STRDUP( lts.lt_ecname );
258 __atoe( lts.lt_ecname );
269 rc = ti->ti_ctx_init( lo, &lts, is_server, errmsg );
277 LDAP_FREE( lts.lt_ciphersuite );
278 LDAP_FREE( lts.lt_cacertfile );
279 LDAP_FREE( lts.lt_certfile );
280 LDAP_FREE( lts.lt_keyfile );
281 LDAP_FREE( lts.lt_crlfile );
282 LDAP_FREE( lts.lt_cacertdir );
283 LDAP_FREE( lts.lt_dhfile );
284 LDAP_FREE( lts.lt_ecname );