summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/auth-rhosts.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-05-15 04:37:24 +0000
committerkris <kris@FreeBSD.org>2000-05-15 04:37:24 +0000
commit8cf8ce7bb13515db269566309a8e9cd8b309ee56 (patch)
tree06db02b6157910d6a3682d3184c258d351e5b638 /crypto/openssh/auth-rhosts.c
parentd8a32b7ba02191af5f53e9fc6d9b63fc39c7383b (diff)
parent4dc8aa85ced77e9e02dea6939edd4d3564b5086e (diff)
downloadFreeBSD-src-8cf8ce7bb13515db269566309a8e9cd8b309ee56.zip
FreeBSD-src-8cf8ce7bb13515db269566309a8e9cd8b309ee56.tar.gz
This commit was generated by cvs2svn to compensate for changes in r60573,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/openssh/auth-rhosts.c')
-rw-r--r--crypto/openssh/auth-rhosts.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/crypto/openssh/auth-rhosts.c b/crypto/openssh/auth-rhosts.c
index 8432428..3393b86 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;
OpenPOWER on IntegriCloud