summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2010-11-23 02:35:50 +0000
committerdjm <djm@openbsd.org>2010-11-23 02:35:50 +0000
commit948aa8d26efb6d8c5460eea1fa1009f2ecc2270b (patch)
tree814b232ffa0e145427621c2e626bc2f547e66ca6
parentThere is somewhere that WINDOW_HIDDEN is getting set when it shouldn't (diff)
downloadwireguard-openbsd-948aa8d26efb6d8c5460eea1fa1009f2ecc2270b.tar.xz
wireguard-openbsd-948aa8d26efb6d8c5460eea1fa1009f2ecc2270b.zip
use strict_modes already passed as function argument over referencing
global options.strict_modes
-rw-r--r--usr.bin/ssh/auth.c4
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);