summaryrefslogtreecommitdiff
path: root/auth-rhosts.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-16 11:18:38 +1000
committerDamien Miller <djm@mindrot.org>2000-04-16 11:18:38 +1000
commit4af51306d9a51459a5bef922df1037f876ae51fe (patch)
tree09ecfc215fce82345a3259f8a0f384b9a67906f0 /auth-rhosts.c
parent5d1705ecf9bd3216dc99a84242bcdf2e7297d307 (diff)
- OpenBSD CVS updates.
[ssh.1 ssh.c] - ssh -2 [auth.c channels.c clientloop.c packet.c packet.h serverloop.c] [session.c sshconnect.c] - check payload for (illegal) extra data [ALL] - whitespace cleanup
Diffstat (limited to 'auth-rhosts.c')
-rw-r--r--auth-rhosts.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/auth-rhosts.c b/auth-rhosts.c
index 318bcfefe..6a5c13e43 100644
--- a/auth-rhosts.c
+++ b/auth-rhosts.c
@@ -1,22 +1,22 @@
1/* 1/*
2 * 2 *
3 * auth-rhosts.c 3 * auth-rhosts.c
4 * 4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 * 6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved 8 * All rights reserved
9 * 9 *
10 * Created: Fri Mar 17 05:12:18 1995 ylo 10 * Created: Fri Mar 17 05:12:18 1995 ylo
11 * 11 *
12 * Rhosts authentication. This file contains code to check whether to admit 12 * Rhosts authentication. This file contains code to check whether to admit
13 * the login based on rhosts authentication. This file also processes 13 * the login based on rhosts authentication. This file also processes
14 * /etc/hosts.equiv. 14 * /etc/hosts.equiv.
15 * 15 *
16 */ 16 */
17 17
18#include "includes.h" 18#include "includes.h"
19RCSID("$Id: auth-rhosts.c,v 1.7 1999/12/27 12:54:55 damien Exp $"); 19RCSID("$Id: auth-rhosts.c,v 1.8 2000/04/16 01:18:39 damien Exp $");
20 20
21#include "packet.h" 21#include "packet.h"
22#include "ssh.h" 22#include "ssh.h"
@@ -30,7 +30,7 @@ RCSID("$Id: auth-rhosts.c,v 1.7 1999/12/27 12:54:55 damien Exp $");
30 * based on the file, and returns zero otherwise. 30 * based on the file, and returns zero otherwise.
31 */ 31 */
32 32
33int 33int
34check_rhosts_file(const char *filename, const char *hostname, 34check_rhosts_file(const char *filename, const char *hostname,
35 const char *ipaddr, const char *client_user, 35 const char *ipaddr, const char *client_user,
36 const char *server_user) 36 const char *server_user)
@@ -146,7 +146,7 @@ check_rhosts_file(const char *filename, const char *hostname,
146 * /etc/hosts.equiv will be considered (.rhosts and .shosts are ignored). 146 * /etc/hosts.equiv will be considered (.rhosts and .shosts are ignored).
147 */ 147 */
148 148
149int 149int
150auth_rhosts(struct passwd *pw, const char *client_user) 150auth_rhosts(struct passwd *pw, const char *client_user)
151{ 151{
152 extern ServerOptions options; 152 extern ServerOptions options;