From a4a675f98760a18b5ff55687181593db6c13f47a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?=
 <jsanchez@openldap.org>
Date: Fri, 16 Jul 1999 15:43:47 +0000
Subject: [PATCH] Two new flags in Connection.  One to indicate that it is a
 raw TLS section (that is, not SASL).  The second to indicate that we need to
 do SSL_accept on this connection.

---
 servers/slapd/slap.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h
index d7fd7eb4c4..439ebd6853 100644
--- a/servers/slapd/slap.h
+++ b/servers/slapd/slap.h
@@ -601,6 +601,9 @@ typedef struct slap_conn {
 	BerElement	*c_currentber;	/* ber we're attempting to read */
 	int		c_writewaiter;	/* true if writer is waiting */
 
+	int	c_is_tls;		/* true if this LDAP over raw TLS */
+	int	c_needs_tls_accept;	/* true if SSL_accept should be called */
+
 	long	c_n_ops_received;		/* num of ops received (next op_id) */
 	long	c_n_ops_executing;	/* num of ops currently executing */
 	long	c_n_ops_pending;		/* num of ops pending execution */
-- 
GitLab