From: Julio Sánchez Fernández Date: Tue, 13 Jul 1999 19:29:19 +0000 (+0000) Subject: Options for TLS X-Git-Tag: OPENLDAP_REL_ENG_2_BP~149 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97a681910e0300b2c76fa331d59d5a9dded21ce5;p=openldap Options for TLS --- diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h index 66ddb64ccc..3ab44dacec 100644 --- a/libraries/libldap/ldap-int.h +++ b/libraries/libldap/ldap-int.h @@ -54,6 +54,7 @@ LDAP_BEGIN_DECL #define LDAP_BOOL_REFERRALS 0 #define LDAP_BOOL_RESTART 1 #define LDAP_BOOL_DNS 2 +#define LDAP_BOOL_TLS 3 #define LDAP_BOOLEANS unsigned long #define LDAP_BOOL(n) (1 << (n)) @@ -109,7 +110,12 @@ struct ldapoptions { /* LDAPv3 server and client controls */ LDAPControl **ldo_sctrls; LDAPControl **ldo_cctrls; - + +#ifdef HAVE_TLS + /* tls context */ + void *ldo_tls_ctx; + int ldo_tls_mode; +#endif LDAP_BOOLEANS ldo_booleans; /* boolean options */ };