diff options
author | Darren Tucker <dtucker@dtucker.net> | 2020-05-01 18:32:25 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-05-01 18:41:40 +1000 |
commit | e9dc9863723e111ae05e353d69df857f0169544a (patch) | |
tree | 894ab9799e2dc72199c07ee73361cec9096fd146 /ssh-keygen.c | |
parent | aad87b88fc2536b1ea023213729aaf4eaabe1894 (diff) |
Use LONG_LONG_MAX and friends if available.
If we don't have LLONG_{MIN,MAX} but do have LONG_LONG_{MIN,MAX}
then use those instead. We do calculate these values in configure,
but it turns out that at least one compiler (old HP ANSI C) can't
parse "-9223372036854775808LL" without mangling it. (It can parse
"-9223372036854775807LL" which is presumably why its limits.h defines
LONG_LONG_MIN as the latter minus 1.)
Fixes rekey test when compiled with the aforementioned compiler.
Diffstat (limited to 'ssh-keygen.c')
0 files changed, 0 insertions, 0 deletions