[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.3 and 1.4

version 1.3, 1999/09/29 21:14:15 version 1.4, 1999/09/30 05:43:33
Line 130 
Line 130 
           continue;            continue;
         }          }
   
 #ifdef HAVE_INNETGR  
   
       /* Verify that host name matches. */        /* Verify that host name matches. */
       if (host[0] == '@')        if (host[0] == '@')
         {          {
Line 152 
Line 150 
       else        else
         if (strcmp(user, client_user) != 0)          if (strcmp(user, client_user) != 0)
           continue; /* Different username. */            continue; /* Different username. */
   
 #else /* HAVE_INNETGR */  
   
       if (!casefold_equal(host, hostname) && strcmp(host, ipaddr) != 0)  
         continue; /* Different hostname. */  
   
       if (strcmp(user, client_user) != 0)  
         continue; /* Different username. */  
   
 #endif /* HAVE_INNETGR */  
   
       /* Found the user and host. */        /* Found the user and host. */
       fclose(f);        fclose(f);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4