summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldapctl/ldapctl.c
diff options
context:
space:
mode:
authorbenno <benno@openbsd.org>2017-01-20 11:55:08 +0000
committerbenno <benno@openbsd.org>2017-01-20 11:55:08 +0000
commitfdd30f56790ad4cf06b6bb997a2e0bd2132a0eee (patch)
treec94f468d9c72259e8f2822829899cdc69b17be00 /usr.sbin/ldapctl/ldapctl.c
parentTake gcc's suggestions about parenthesis around assignments used (diff)
downloadwireguard-openbsd-fdd30f56790ad4cf06b6bb997a2e0bd2132a0eee.tar.xz
wireguard-openbsd-fdd30f56790ad4cf06b6bb997a2e0bd2132a0eee.zip
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok krw@ jmatthew@
Diffstat (limited to 'usr.sbin/ldapctl/ldapctl.c')
-rw-r--r--usr.sbin/ldapctl/ldapctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ldapctl/ldapctl.c b/usr.sbin/ldapctl/ldapctl.c
index 42b57c436f1..502bae9e629 100644
--- a/usr.sbin/ldapctl/ldapctl.c
+++ b/usr.sbin/ldapctl/ldapctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldapctl.c,v 1.9 2016/02/02 18:18:04 jca Exp $ */
+/* $OpenBSD: ldapctl.c,v 1.10 2017/01/20 11:55:08 benno Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
@@ -42,6 +42,7 @@
#include <event.h>
#include "ldapd.h"
+#include "log.h"
enum action {
NONE,
@@ -61,6 +62,7 @@ int compact_namespace(struct namespace *ns, const char *datadir);
int compact_namespaces(const char *datadir);
int index_namespace(struct namespace *ns, const char *datadir);
int index_namespaces(const char *datadir);
+int ssl_load_certfile(struct ldapd_config *, const char *, u_int8_t);
__dead void
usage(void)