]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/starttls.c
Additional fix for ITS#4522. The "dn=" ist not optional.
[openldap] / servers / slapd / starttls.c
index 0a626367ac03a765ac4d1a4d43f1296ca02994d1..f2593e74742469769f873096d428acb45374a984 100644 (file)
 
 #include <stdio.h>
 #include <ac/socket.h>
+#include <ac/string.h>
 
 #include "slap.h"
+#include "lber_pvt.h"
 
-#ifdef HAVE_TLS
+const struct berval slap_EXOP_START_TLS = BER_BVC(LDAP_EXOP_START_TLS);
 
+#ifdef HAVE_TLS
 int
 starttls_extop ( Operation *op, SlapReply *rs )
 {