X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fstarttls.c;h=edc7a3ff8a759859b31abc4c6e45e3f0cd271c68;hb=3cdba151ad18dba10786fde4464442ddaf67b5fe;hp=0a626367ac03a765ac4d1a4d43f1296ca02994d1;hpb=acbb5cf689a4336af05c9f259d909d8141055bac;p=openldap diff --git a/servers/slapd/starttls.c b/servers/slapd/starttls.c index 0a626367ac..edc7a3ff8a 100644 --- a/servers/slapd/starttls.c +++ b/servers/slapd/starttls.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2006 The OpenLDAP Foundation. + * Copyright 1998-2007 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -17,11 +17,14 @@ #include #include +#include #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 ) {