Test that a ^ 0 mod -1 is always 0
authorMatt Caswell <matt@openssl.org>
Thu, 24 May 2018 15:13:43 +0000 (16:13 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 29 May 2018 15:43:18 +0000 (16:43 +0100)
commitadf652436a42a5132e708f8003b7621647f0a404
tree6ea9cff5f6831523dcf2f4abda368146645caa81
parent4aa5b725d549b3ebc3a4f2f1c44e44a11f68752b
Test that a ^ 0 mod -1 is always 0

Check all functions that do this.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6355)
test/bntest.c