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

Diff for /src/usr.bin/ssh/authfile.c between version 1.52.2.1 and 1.52.2.2

version 1.52.2.1, 2003/09/16 20:50:42 version 1.52.2.2, 2004/03/04 18:18:15
Line 143 
Line 143 
         fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600);          fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0600);
         if (fd < 0) {          if (fd < 0) {
                 error("open %s failed: %s.", filename, strerror(errno));                  error("open %s failed: %s.", filename, strerror(errno));
                   buffer_free(&encrypted);
                 return 0;                  return 0;
         }          }
         if (write(fd, buffer_ptr(&encrypted), buffer_len(&encrypted)) !=          if (write(fd, buffer_ptr(&encrypted), buffer_len(&encrypted)) !=

Legend:
Removed from v.1.52.2.1  
changed lines
  Added in v.1.52.2.2