summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_client.c
diff options
context:
space:
mode:
authorbcook <>2016-09-03 14:37:52 +0000
committerbcook <>2016-09-03 14:37:52 +0000
commitf826e0ef7a6d62b2aaaf3475bc001f300d6cd832 (patch)
tree31d358ba576013da8bf26c4a1d473b7cc1f1e8b0 /src/lib/libtls/tls_client.c
parent9aae90b064d0298d40b2d795728a6e1dbb721db5 (diff)
downloadopenbsd-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_client.c')
0 files changed, 0 insertions, 0 deletions