diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 05:56:56 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 05:56:56 +0200 |
commit | 90279d80f57c79ac6566051172a94a2cca9674b1 (patch) | |
tree | f0f1c9c73d605088d74a6e2e18d8794d8de097c4 /auth2.c | |
parent | - mpech@cvs.openbsd.org 2001/06/26 05:48:07 (diff) | |
download | openssh-90279d80f57c79ac6566051172a94a2cca9674b1.tar.xz openssh-90279d80f57c79ac6566051172a94a2cca9674b1.zip |
- markus@cvs.openbsd.org 2001/06/26 05:50:11
[auth2.c]
new interface for secure_filename()
Diffstat (limited to '')
-rw-r--r-- | auth2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2.c,v 1.67 2001/06/25 20:26:37 stevesk Exp $"); +RCSID("$OpenBSD: auth2.c,v 1.68 2001/06/26 05:50:11 markus Exp $"); #include <openssl/evp.h> @@ -679,7 +679,7 @@ user_key_allowed2(struct passwd *pw, Key *key, char *file) return 0; } if (options.strict_modes && - secure_filename(f, file, pw->pw_uid, line, sizeof(line)) != 0) { + secure_filename(f, file, pw, line, sizeof(line)) != 0) { fclose(f); log("Authentication refused: %s", line); restore_uid(); |