=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/certhash.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/openssl/certhash.c 2015/03/05 17:15:48 1.8 +++ src/usr.bin/openssl/certhash.c 2015/07/19 03:05:32 1.9 @@ -267,7 +267,7 @@ 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;