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 01:06:38 +0000 (02:06 +0100)
commit2fc9b36a96ccd77cbd9ecfb3a3cdaa7ad2ca305e
tree05be5c03eb5bbcf639d679a9dc6e3126116bda69
parent0b50ac1a0fe907f4effcf3f2f36dac32523938c5
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)
crypto/bn/bn_lcl.h