diff options
author | tb <> | 2022-08-10 12:06:28 +0000 |
---|---|---|
committer | tb <> | 2022-08-10 12:06:28 +0000 |
commit | 07a8d75b5ae234230be00fa0617d05fd80787b7a (patch) | |
tree | a5da66c1fef5732bcd9d3f096120fe1cfbe13e66 /src/lib/libcrypto/dsa/dsa_lib.c | |
parent | 59e7d7a474ef69602d2c336e05f4593856883a3b (diff) | |
download | openbsd-07a8d75b5ae234230be00fa0617d05fd80787b7a.tar.gz openbsd-07a8d75b5ae234230be00fa0617d05fd80787b7a.tar.bz2 openbsd-07a8d75b5ae234230be00fa0617d05fd80787b7a.zip |
Cast int64_t to uint64_t for negating
Avoid signed integer overflow by casting an int64_t to uint64_t before
negating. Same fix was applied in a_int.c -r1.44, but was forgotten to
be applied to a_enum.c.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_lib.c')
0 files changed, 0 insertions, 0 deletions