From 248c0784bfcadea9bed9dd9b919b7e4633b4f86a Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Wed, 4 Jul 2001 03:40:39 +0000 Subject: - provos@cvs.openbsd.org 2001/06/25 17:54:47 [auth.c auth.h auth-rsa.c] terminate secure_filename checking after checking homedir. that way it works on AFS. okay markus@ --- auth.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'auth.h') diff --git a/auth.h b/auth.h index b9585d3a..415967c2 100644 --- a/auth.h +++ b/auth.h @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $OpenBSD: auth.h,v 1.18 2001/06/23 00:20:58 markus Exp $ + * $OpenBSD: auth.h,v 1.19 2001/06/25 17:54:49 provos Exp $ */ #ifndef AUTH_H #define AUTH_H @@ -168,7 +168,8 @@ char *authorized_keys_file2(struct passwd *pw); /* check a file and the path to it */ int -secure_filename(FILE *f, const char *file, uid_t u, char *err, size_t errlen); +secure_filename(FILE *f, const char *file, struct passwd *pw, + char *err, size_t errlen); /* helper for hostbased auth */ HostStatus -- cgit v1.2.3