diff options
author | 2009-01-13 00:16:16 +0000 | |
---|---|---|
committer | 2009-01-13 00:16:16 +0000 | |
commit | 385f9e8c6cfa144fb224251b778d056b0360df11 (patch) | |
tree | 83d5a7f3d8aef8ed3e18cf6bfaa428128ea2f94b | |
parent | A storage driver should be DV_DULL, not DV_IFNET. Pointed out by dlg@. (diff) | |
download | wireguard-openbsd-385f9e8c6cfa144fb224251b778d056b0360df11.tar.xz wireguard-openbsd-385f9e8c6cfa144fb224251b778d056b0360df11.zip |
ypldap.conf may contain secrets, so get the parse to check if its
sufficiently private.
ok pyr@
-rw-r--r-- | usr.sbin/ypldap/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypldap/parse.y b/usr.sbin/ypldap/parse.y index f7d6cd9f72f..68695d6af5e 100644 --- a/usr.sbin/ypldap/parse.y +++ b/usr.sbin/ypldap/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.6 2008/10/28 13:47:22 aschrijver Exp $ */ +/* $OpenBSD: parse.y,v 1.7 2009/01/13 00:16:16 dlg Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -701,7 +701,7 @@ parse_config(struct env *x_conf, const char *filename, int opts) errors = 0; - if ((file = pushfile(filename, 0)) == NULL) { + if ((file = pushfile(filename, 1)) == NULL) { return (-1); } topfile = file; |