From 97a681910e0300b2c76fa331d59d5a9dded21ce5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?= Date: Tue, 13 Jul 1999 19:29:19 +0000 Subject: [PATCH] Options for TLS --- libraries/libldap/ldap-int.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 */ }; -- 2.39.5