summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authordjm <djm>2010-12-01 01:01:51 +0000
committerdjm <djm>2010-12-01 01:01:51 +0000
commitb0374889532c316fb59fe1d598aa9ed696c61d73 (patch)
treef3e3e1f44a19424c0eaa681538e1952f4072e434 /auth.c
parentc365cbc1c003f705066c746a2c7029cc695d465d (diff)
downloadopenssh-b0374889532c316fb59fe1d598aa9ed696c61d73.tar.gz
- djm@cvs.openbsd.org 2010/11/23 02:35:50
[auth.c] use strict_modes already passed as function argument over referencing global options.strict_modes
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth.c b/auth.c
index dba1e655..6fe1b21a 100644
--- a/auth.c
+++ b/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.
*
@@ -518,7 +518,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);