bn: catch negative zero as an error
authorGeoff Thorpe <geoff@openssl.org>
Thu, 6 Oct 2016 14:02:38 +0000 (09:02 -0500)
committerRichard Levitte <levitte@openssl.org>
Wed, 1 Feb 2017 02:17:37 +0000 (03:17 +0100)
commit0feb2207e7ff4ecbf9edea1521e44e0b809ad69d
treee45a356cc93d37f26e1bc5a4b2d02f32880fbcaa
parentf8114d7d775b5802f283a9325635f9f2732e0341
bn: catch negative zero as an error

Change-Id: I5ab72ad0aae9069b47d5b7b7b9e25bd1b7afa251
Signed-off-by: Geoff Thorpe <geoff@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1672)
(cherry picked from commit 2fc9b36a96ccd77cbd9ecfb3a3cdaa7ad2ca305e)
crypto/bn/bn_lcl.h