[BACK]Return to auth-rhosts.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / crypto / external / bsd / openssh / dist

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/crypto/external/bsd/openssh/dist/auth-rhosts.c between version 1.12 and 1.13

version 1.12, 2020/05/28 17:05:49 version 1.13, 2021/03/05 17:47:15
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
 /* $OpenBSD: auth-rhosts.c,v 1.52 2020/04/17 03:30:05 djm Exp $ */  /* $OpenBSD: auth-rhosts.c,v 1.53 2020/10/18 11:32:01 djm Exp $ */
   
 /*  /*
  * 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
Line 222  auth_rhosts2(struct passwd *pw, const ch
Line 223  auth_rhosts2(struct passwd *pw, const ch
         if (!rhosts_files[rhosts_file_index] &&          if (!rhosts_files[rhosts_file_index] &&
             stat(_PATH_RHOSTS_EQUIV, &st) == -1 &&              stat(_PATH_RHOSTS_EQUIV, &st) == -1 &&
             stat(_PATH_SSH_HOSTS_EQUIV, &st) == -1) {              stat(_PATH_SSH_HOSTS_EQUIV, &st) == -1) {
                 debug3("%s: no hosts access files exist", __func__);                  debug3_f("no hosts access files exist");
                 return 0;                  return 0;
         }          }
   
Line 231  auth_rhosts2(struct passwd *pw, const ch
Line 232  auth_rhosts2(struct passwd *pw, const ch
          * shosts.equiv.           * shosts.equiv.
          */           */
         if (pw->pw_uid == 0)          if (pw->pw_uid == 0)
                 debug3("%s: root user, ignoring system hosts files", __func__);                  debug3_f("root user, ignoring system hosts files");
         else {          else {
                 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr,                  if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr,
                     client_user, pw->pw_name)) {                      client_user, pw->pw_name)) {

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

CVSweb <webmaster@jp.NetBSD.org>