diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-11-23 02:35:51 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-11-23 02:35:51 +0000 |
commit | 4846dc5b38dce4b29e241b6320b4dac098e5e05f (patch) | |
tree | 2029c958feb193310d435faa68be06e99fc6e4b8 | |
parent | b9df347bd784429922493fbed0889aa40e78fe78 (diff) |
use strict_modes already passed as function argument over referencing
global options.strict_modes
-rw-r--r-- | usr.bin/ssh/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c index d264f2f6d53..550bb4fc694 100644 --- a/usr.bin/ssh/auth.c +++ b/usr.bin/ssh/auth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth.c,v 1.89 2010/08/04 05:42:47 djm Exp $ */ +/* $OpenBSD: auth.c,v 1.90 2010/11/23 02:35:50 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -428,7 +428,7 @@ auth_openfile(const char *file, struct passwd *pw, int strict_modes, close(fd); return NULL; } - if (options.strict_modes && + if (strict_modes && secure_filename(f, file, pw, line, sizeof(line)) != 0) { fclose(f); logit("Authentication refused: %s", line); |