summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/openssl/certhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/openssl/certhash.c b/usr.bin/openssl/certhash.c
index d0d1d8c771d..84364f1560e 100644
--- a/usr.bin/openssl/certhash.c
+++ b/usr.bin/openssl/certhash.c
@@ -267,7 +267,7 @@ hashinfo_from_linkname(const char *linkname, const char *target)
val = strtoll(l, &ep, 16);
if (l[0] == '\0' || *ep != '\0')
goto err;
- if (errno == ERANGE && (val == LONG_MAX || val == LONG_MIN))
+ if (errno == ERANGE && (val == LLONG_MAX || val == LLONG_MIN))
goto err;
if (val < 0 || val > ULONG_MAX)
goto err;