diff options
author | tb <tb@openbsd.org> | 2019-10-24 12:39:26 +0000 |
---|---|---|
committer | tb <tb@openbsd.org> | 2019-10-24 12:39:26 +0000 |
commit | 696b58997f75587bd78112ed0b6cdec94a718911 (patch) | |
tree | 113a47b65d3d84619d15dd5ba9050be9ee77cc1b /usr.sbin/ldapctl/ldapctl.c | |
parent | Backout previous synch.h commit (r1.5, "Use process-private futexes to avoid (diff) | |
download | wireguard-openbsd-696b58997f75587bd78112ed0b6cdec94a718911.tar.xz wireguard-openbsd-696b58997f75587bd78112ed0b6cdec94a718911.zip |
The ber_* namespace is used by liblber since time immemorial,
so move our BER API to the unused ober_* prefix to avoid some
breakage in ports.
Problem diagnosed by jmatthew with ber_free() in samba, but
there are many others as pointed out by sthen.
tests & ok rob
ok sthen (who had an almost identical diff for libutil)
"go head hit it" deraadt
Diffstat (limited to 'usr.sbin/ldapctl/ldapctl.c')
-rw-r--r-- | usr.sbin/ldapctl/ldapctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldapctl/ldapctl.c b/usr.sbin/ldapctl/ldapctl.c index d9f6a464940..c8564c5543f 100644 --- a/usr.sbin/ldapctl/ldapctl.c +++ b/usr.sbin/ldapctl/ldapctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldapctl.c,v 1.12 2019/06/27 18:03:37 deraadt Exp $ */ +/* $OpenBSD: ldapctl.c,v 1.13 2019/10/24 12:39:26 tb Exp $ */ /* * Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se> @@ -196,7 +196,7 @@ index_namespace(struct namespace *ns, const char *datadir) if ((elm = db2ber(&val, ns->compression_level)) == NULL) continue; rc = index_entry(ns, &key, elm); - ber_free_elements(elm); + ober_free_elements(elm); btval_reset(&key); btval_reset(&val); if (rc != 0) |