]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/starttls.c
Merge branch 'mdb.master' of /home/hyc/OD/mdb
[openldap] / servers / slapd / starttls.c
index 2ce38146c6ab14dc447d2cf43a976a8dfc805cdc..3e26f5e2fbacc894dc932f22fbdbb1db85462a0f 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2011 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
 
 #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 )
 {