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

Diff for /src/usr.bin/ssh/auth.c between version 1.118 and 1.119

version 1.118, 2016/11/08 22:04:34 version 1.119, 2016/12/15 21:29:05
Line 126 
Line 126 
   
         /* Return false if user is listed in DenyUsers */          /* Return false if user is listed in DenyUsers */
         if (options.num_deny_users > 0) {          if (options.num_deny_users > 0) {
                 for (i = 0; i < options.num_deny_users; i++)                  for (i = 0; i < options.num_deny_users; i++) {
                         r = match_user(pw->pw_name, hostname, ipaddr,                          r = match_user(pw->pw_name, hostname, ipaddr,
                             options.deny_users[i]);                              options.deny_users[i]);
                         if (r < 0) {                          if (r < 0) {
Line 138 
Line 138 
                                     pw->pw_name, hostname);                                      pw->pw_name, hostname);
                                 return 0;                                  return 0;
                         }                          }
                   }
         }          }
         /* Return false if AllowUsers isn't empty and user isn't listed there */          /* Return false if AllowUsers isn't empty and user isn't listed there */
         if (options.num_allow_users > 0) {          if (options.num_allow_users > 0) {

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.119