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

Diff for /src/usr.bin/ssh/auth2.c between version 1.29 and 1.30

version 1.29, 2001/01/19 15:55:10 version 1.30, 2001/01/20 15:55:20
Line 515 
Line 515 
 int  int
 user_key_allowed(struct passwd *pw, Key *key)  user_key_allowed(struct passwd *pw, Key *key)
 {  {
         char line[8192], file[1024];          char line[8192], file[MAXPATHNAME];
         int found_key = 0;          int found_key = 0;
         FILE *f;          FILE *f;
         u_long linenum = 0;          u_long linenum = 0;
Line 618 
Line 618 
                         }                          }
                 }                  }
                 if (key_equal(found, key) &&                  if (key_equal(found, key) &&
                     auth_parse_options(pw, options, linenum) == 1) {                      auth_parse_options(pw, options, file, linenum) == 1) {
                         found_key = 1;                          found_key = 1;
                         debug("matching key found: file %s, line %ld",                          debug("matching key found: file %s, line %ld",
                             file, linenum);                              file, linenum);

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30