diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 03:40:39 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 03:40:39 +0000 |
commit | 248c0784bfcadea9bed9dd9b919b7e4633b4f86a (patch) | |
tree | c2df8825fc6057aec6289b99ce8180d5a89511aa /auth-rsa.c | |
parent | bda98b0091bb96ece12b6f54e7fa93cd832da772 (diff) |
- 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@
Diffstat (limited to 'auth-rsa.c')
-rw-r--r-- | auth-rsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-rsa.c,v 1.42 2001/06/22 21:55:48 markus Exp $"); +RCSID("$OpenBSD: auth-rsa.c,v 1.43 2001/06/25 17:54:47 provos Exp $"); #include <openssl/rsa.h> #include <openssl/md5.h> @@ -159,7 +159,7 @@ auth_rsa(struct passwd *pw, BIGNUM *client_n) 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) { xfree(file); fclose(f); log("Authentication refused: %s", line); |