summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/certhash.c
diff options
context:
space:
mode:
authorderaadt <>2015-10-02 18:05:07 +0000
committerderaadt <>2015-10-02 18:05:07 +0000
commitef82ec6f879a46c60bcda5eff16529f9fd6b2262 (patch)
tree2e7f56d6c54ad363b1307d13bfc0b232c38faddd /src/usr.bin/openssl/certhash.c
parentf7036a0cf89d100fc7d8f484446d4492fdabf534 (diff)
downloadopenbsd-ef82ec6f879a46c60bcda5eff16529f9fd6b2262.tar.gz
openbsd-ef82ec6f879a46c60bcda5eff16529f9fd6b2262.tar.bz2
openbsd-ef82ec6f879a46c60bcda5eff16529f9fd6b2262.zip
avoid sys/param.h, by using PATH_MAX
Diffstat (limited to 'src/usr.bin/openssl/certhash.c')
-rw-r--r--src/usr.bin/openssl/certhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/certhash.c b/src/usr.bin/openssl/certhash.c
index a53ffe2053..77e641cef5 100644
--- a/src/usr.bin/openssl/certhash.c
+++ b/src/usr.bin/openssl/certhash.c
@@ -474,7 +474,7 @@ static int
474certhash_link(struct dirent *dep, struct hashinfo **links) 474certhash_link(struct dirent *dep, struct hashinfo **links)
475{ 475{
476 struct hashinfo *hi = NULL; 476 struct hashinfo *hi = NULL;
477 char target[MAXPATHLEN]; 477 char target[PATH_MAX];
478 struct stat sb; 478 struct stat sb;
479 int n; 479 int n;
480 480