diff options
author | bcook <> | 2016-09-03 14:37:52 +0000 |
---|---|---|
committer | bcook <> | 2016-09-03 14:37:52 +0000 |
commit | f826e0ef7a6d62b2aaaf3475bc001f300d6cd832 (patch) | |
tree | 31d358ba576013da8bf26c4a1d473b7cc1f1e8b0 /src/lib/libtls/tls_server.c | |
parent | 9aae90b064d0298d40b2d795728a6e1dbb721db5 (diff) | |
download | openbsd-f826e0ef7a6d62b2aaaf3475bc001f300d6cd832.tar.gz openbsd-f826e0ef7a6d62b2aaaf3475bc001f300d6cd832.tar.bz2 openbsd-f826e0ef7a6d62b2aaaf3475bc001f300d6cd832.zip |
BN_mod_exp_mont_consttime: check for zero modulus.
Don't dereference |d| when |top| is zero. Also test that various
BIGNUM methods behave correctly on zero/even inputs.
Original patch from OpenSSL commit d46e946d2603c64df6e1e4f9db0c70baaf1c4c03
Diffstat (limited to 'src/lib/libtls/tls_server.c')
0 files changed, 0 insertions, 0 deletions