diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-05-15 04:37:24 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-05-15 04:37:24 +0000 |
commit | a04a10f8915401e0ac20dce0ade6c5b6e1bb13da (patch) | |
tree | 772b9de8852fb4c32957c00639a4fd5460f8a62b /crypto/openssh/auth-rhosts.c | |
parent | a8f6863aa612ce6941e7bad9cf809a8d0608a7ca (diff) | |
download | src-a04a10f8915401e0ac20dce0ade6c5b6e1bb13da.tar.gz src-a04a10f8915401e0ac20dce0ade6c5b6e1bb13da.zip |
Initial import of OpenSSH v2.1.vendor/openssh/2.1
Notes
Notes:
svn path=/vendor-crypto/openssh/dist/; revision=60573
svn path=/vendor-crypto/openssh/2.1/; revision=60575; tag=vendor/openssh/2.1
Diffstat (limited to 'crypto/openssh/auth-rhosts.c')
-rw-r--r-- | crypto/openssh/auth-rhosts.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/crypto/openssh/auth-rhosts.c b/crypto/openssh/auth-rhosts.c index 843242875aea..3393b86661dd 100644 --- a/crypto/openssh/auth-rhosts.c +++ b/crypto/openssh/auth-rhosts.c @@ -1,22 +1,22 @@ /* - * + * * auth-rhosts.c - * + * * Author: Tatu Ylonen <ylo@cs.hut.fi> - * + * * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved - * + * * Created: Fri Mar 17 05:12:18 1995 ylo - * + * * Rhosts authentication. This file contains code to check whether to admit * the login based on rhosts authentication. This file also processes * /etc/hosts.equiv. - * + * */ #include "includes.h" -RCSID("$Id: auth-rhosts.c,v 1.12 1999/12/27 10:46:11 markus Exp $"); +RCSID("$Id: auth-rhosts.c,v 1.13 2000/04/14 10:30:29 markus Exp $"); #include "packet.h" #include "ssh.h" @@ -30,7 +30,7 @@ RCSID("$Id: auth-rhosts.c,v 1.12 1999/12/27 10:46:11 markus Exp $"); * based on the file, and returns zero otherwise. */ -int +int check_rhosts_file(const char *filename, const char *hostname, const char *ipaddr, const char *client_user, const char *server_user) @@ -146,7 +146,7 @@ check_rhosts_file(const char *filename, const char *hostname, * /etc/hosts.equiv will be considered (.rhosts and .shosts are ignored). */ -int +int auth_rhosts(struct passwd *pw, const char *client_user) { extern ServerOptions options; |