diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2009-01-13 00:16:17 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2009-01-13 00:16:17 +0000 |
commit | 2823b73e7e9c58e996adf2f962157f04fc9dc7e7 (patch) | |
tree | a2163e868f0499085970c3a2c84eaadc6e676626 | |
parent | bd566fd306d2361e816900a8e046dade8335a14b (diff) |
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; |