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

Diff for /src/usr.bin/openssl/certhash.c between version 1.3 and 1.4

version 1.3, 2015/02/12 04:26:46 version 1.4, 2015/02/18 05:48:54
Line 191 
Line 191 
         }          }
         entry->next = NULL;          entry->next = NULL;
   
           free(list);
         return (0);          return (0);
 }  }
   
Line 483 
Line 484 
         if (!S_ISLNK(sb.st_mode))          if (!S_ISLNK(sb.st_mode))
                 return (0);                  return (0);
   
         n = readlinkat(dfd, dep->d_name, target, sizeof(target));          n = readlinkat(dfd, dep->d_name, target, sizeof(target) - 1);
         if (n == -1) {          if (n == -1) {
                 fprintf(stderr, "failed to readlink %s\n", dep->d_name);                  fprintf(stderr, "failed to readlink %s\n", dep->d_name);
                 return (-1);                  return (-1);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4