[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.90 and 1.91

version 1.90, 2011/05/13 00:05:36 version 1.91, 2011/05/23 07:24:57
Line 758 
Line 758 
                                 ;                                  ;
                         if (*cp) {                          if (*cp) {
                                 if (key_read(k, &cp) == 1) {                                  if (key_read(k, &cp) == 1) {
                                         if (commentp)                                          cp[strcspn(cp, "\r\n")] = '\0';
                                                 *commentp=xstrdup(filename);                                          if (commentp) {
                                                   *commentp = xstrdup(*cp ?
                                                       cp : filename);
                                           }
                                         fclose(f);                                          fclose(f);
                                         return 1;                                          return 1;
                                 }                                  }

Legend:
Removed from v.1.90  
changed lines
  Added in v.1.91