[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.80 and 1.81

version 1.80, 2008/11/04 07:58:09 version 1.81, 2010/01/10 07:15:56
Line 393 
Line 393 
          * Open the file containing the authorized keys           * Open the file containing the authorized keys
          * Fail quietly if file does not exist           * Fail quietly if file does not exist
          */           */
         if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1)          if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) {
                   if (errno != ENOENT)
                           debug("Could not open keyfile '%s': %s", file,
                              strerror(errno));
                 return NULL;                  return NULL;
           }
   
         if (fstat(fd, &st) < 0) {          if (fstat(fd, &st) < 0) {
                 close(fd);                  close(fd);

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81