Return to certhash.c CVS log | Up to [local] / src / usr.bin / openssl |
version 1.18, 2021/08/28 08:16:39 | version 1.19, 2021/10/23 08:13:48 | ||
---|---|---|---|
|
|
||
fprintf(stderr, "failed to readlink %s\n", dep->d_name); | fprintf(stderr, "failed to readlink %s\n", dep->d_name); | ||
return (-1); | return (-1); | ||
} | } | ||
if (n >= sizeof(target) - 1) { | |||
fprintf(stderr, "symbolic link is too long %s\n", dep->d_name); | |||
return (-1); | |||
} | |||
target[n] = '\0'; | target[n] = '\0'; | ||
hi = hashinfo_from_linkname(dep->d_name, target); | hi = hashinfo_from_linkname(dep->d_name, target); |