summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
authorjsing <>2023-03-11 14:13:11 +0000
committerjsing <>2023-03-11 14:13:11 +0000
commit2169aa7d8fb1fca93b35610fe1cce79730752235 (patch)
tree0e761bee36c1a19143b0930f375dcd4bbe41820a /src/regress
parentfc34d2e11e2863715e991553eaeef6c687ec8910 (diff)
downloadopenbsd-2169aa7d8fb1fca93b35610fe1cce79730752235.tar.gz
openbsd-2169aa7d8fb1fca93b35610fe1cce79730752235.tar.bz2
openbsd-2169aa7d8fb1fca93b35610fe1cce79730752235.zip
Correct sign handling in BN_add_word().
A sign handling bug was introduced to BN_add_word() in bn_word.c r1.18. When handling addition to a negative bignum, the BN_sub_word() call can result in the sign being flipped, which we need to account for. Use the same code in BN_sub_word() - while not technically needed here it keeps the code consistent. Issue discovered by tb@ ok tb@
Diffstat (limited to 'src/regress')
0 files changed, 0 insertions, 0 deletions