Clean up BN_consttime_swap.
authorBilly Brumley <bbrumley@gmail.com>
Mon, 12 Nov 2018 13:47:54 +0000 (15:47 +0200)
committerNicola Tuveri <nic.tuv@gmail.com>
Mon, 26 Nov 2018 15:52:33 +0000 (17:52 +0200)
commit900fd8f375ca758d182e894bc1556509b231dbc8
treea59407f645d2c1bdbf99d627b4694ea7c640fb37
parent0777de15ff09105593c7e778cf47f97a9144d273
Clean up BN_consttime_swap.

Updated "condition" logic lifted from Theo Buehler's LibreSSL commit https://github.com/libressl-portable/openbsd/commit/517358603b4be76d48a50007a0d414c2072697dd

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/7619)
crypto/bn/bn_lib.c