[BACK]Return to auth-rhosts.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/auth-rhosts.c between version 1.12 and 1.13

version 1.12, 1999/12/27 10:46:11 version 1.13, 2000/04/14 10:30:29
Line 1 
Line 1 
 /*  /*
  *   *
  * auth-rhosts.c   * auth-rhosts.c
  *   *
  * Author: Tatu Ylonen <ylo@cs.hut.fi>   * Author: Tatu Ylonen <ylo@cs.hut.fi>
  *   *
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland   * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved   *                    All rights reserved
  *   *
  * Created: Fri Mar 17 05:12:18 1995 ylo   * Created: Fri Mar 17 05:12:18 1995 ylo
  *   *
  * Rhosts authentication.  This file contains code to check whether to admit   * Rhosts authentication.  This file contains code to check whether to admit
  * the login based on rhosts authentication.  This file also processes   * the login based on rhosts authentication.  This file also processes
  * /etc/hosts.equiv.   * /etc/hosts.equiv.
  *   *
  */   */
   
 #include "includes.h"  #include "includes.h"
Line 30 
Line 30 
  * based on the file, and returns zero otherwise.   * based on the file, and returns zero otherwise.
  */   */
   
 int  int
 check_rhosts_file(const char *filename, const char *hostname,  check_rhosts_file(const char *filename, const char *hostname,
                   const char *ipaddr, const char *client_user,                    const char *ipaddr, const char *client_user,
                   const char *server_user)                    const char *server_user)
Line 146 
Line 146 
  * /etc/hosts.equiv will be considered (.rhosts and .shosts are ignored).   * /etc/hosts.equiv will be considered (.rhosts and .shosts are ignored).
  */   */
   
 int  int
 auth_rhosts(struct passwd *pw, const char *client_user)  auth_rhosts(struct passwd *pw, const char *client_user)
 {  {
         extern ServerOptions options;          extern ServerOptions options;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13