summaryrefslogtreecommitdiffstats
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/types.h b/types.h
index 94e2ddd..ff2ddf4 100644
--- a/types.h
+++ b/types.h
@@ -86,6 +86,7 @@ struct _epoll_server_t_ {
BOOL bound; // Already bound to server?
BOOL dynamic;
BOOL sslConnected;
+ uint32_t startTlsId; // Whether STARTTLS request was already sent (>0)
BOOL kill; // Should the connection be killed?
BOOL writeBlocked; // An SSL_write returned WANT_*, so we must not reallocate the current send buffer
time_t lastActive;
@@ -129,6 +130,7 @@ struct _server_t_ {
BOOL plainLdap;
BOOL fixNumeric; // prefix numeric account names with an 's'
BOOL genUidNumber; // generate uidNumber attribute locally (and keep track)
+ BOOL useStartTls; // Establish plain connection, then upgrade via STARTTLS
uint16_t port;
SSL_CTX *sslContext;
epoll_server_t con;