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.h | |
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.h')
-rw-r--r-- | auth.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $OpenBSD: auth.h,v 1.18 2001/06/23 00:20:58 markus Exp $ + * $OpenBSD: auth.h,v 1.19 2001/06/25 17:54:49 provos Exp $ */ #ifndef AUTH_H #define AUTH_H @@ -168,7 +168,8 @@ char *authorized_keys_file2(struct passwd *pw); /* check a file and the path to it */ int -secure_filename(FILE *f, const char *file, uid_t u, char *err, size_t errlen); +secure_filename(FILE *f, const char *file, struct passwd *pw, + char *err, size_t errlen); /* helper for hostbased auth */ HostStatus |