diff options
author | tb <> | 2023-03-26 18:49:48 +0000 |
---|---|---|
committer | tb <> | 2023-03-26 18:49:48 +0000 |
commit | e7c1fe4923c04c3cbcc74b60d5dd714eb4a9e3c0 (patch) | |
tree | 91a9d01480166f0c7000d76fa494e2650e4582ea /src/lib/libc/stdlib/reallocarray.c | |
parent | e38cf77b1ca206b636cffd867656a62dd8cf3d98 (diff) | |
download | openbsd-e7c1fe4923c04c3cbcc74b60d5dd714eb4a9e3c0.tar.gz openbsd-e7c1fe4923c04c3cbcc74b60d5dd714eb4a9e3c0.tar.bz2 openbsd-e7c1fe4923c04c3cbcc74b60d5dd714eb4a9e3c0.zip |
Correctly reduce negative inpot to BN_mod_exp2_mont()
Negative bases could result in a negative modulus being returned. This is
not strictly speaking incorrect but slightly surprising. This is all a
consequence of the shortcut of defining BN_mod() as a macro using BN_div().
Fixes ossfuzz #55997
ok jsing
Diffstat (limited to 'src/lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions