mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
Options for TLS
This commit is contained in:
parent
739466b85d
commit
97a681910e
1 changed files with 7 additions and 1 deletions
|
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue