diff options
author | bcook <> | 2016-07-05 02:54:35 +0000 |
---|---|---|
committer | bcook <> | 2016-07-05 02:54:35 +0000 |
commit | 893dbf4e24a37a4ac3cf521b4c386df31e6edf21 (patch) | |
tree | 90c31bd2681496537a3d217c0819f837c5e8d8b4 /src/lib/libtls/tls.c | |
parent | 25f89b1a60c16a8a6f6b2258cfebc4c8db737315 (diff) | |
download | openbsd-893dbf4e24a37a4ac3cf521b4c386df31e6edf21.tar.gz openbsd-893dbf4e24a37a4ac3cf521b4c386df31e6edf21.tar.bz2 openbsd-893dbf4e24a37a4ac3cf521b4c386df31e6edf21.zip |
On systems where we do not have BN_ULLONG defined (most 64-bit systems),
BN_mod_word() can return incorrect results if the supplied modulus is
too big, so we need to fall back to BN_div_word.
Now that BN_mod_word may fail, handle errors properly update the man page.
Thanks to Brian Smith for pointing out these fixes from BoringSSL:
https://boringssl.googlesource.com/boringssl/+/67cb49d045f04973ddba0f92fe8a8ad483c7da89
https://boringssl.googlesource.com/boringssl/+/44bedc348d9491e63c7ed1438db100a4b8a830be
ok beck@
Diffstat (limited to 'src/lib/libtls/tls.c')
0 files changed, 0 insertions, 0 deletions