Make sure BN_sqr can never return a negative value.
authorHuzaifa Sidhpurwala <huzaifas@redhat.com>
Thu, 26 Jun 2014 22:45:58 +0000 (23:45 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 26 Jun 2014 22:52:18 +0000 (23:52 +0100)
commit54985b5061e9111c9be134a72ea6cfcc318dfbbb
tree7ef62866a1c1353b3097e268a71fbade680dc51e
parentb09db677d54800c236c9b4a5f3a877026ab876f7
Make sure BN_sqr can never return a negative value.

PR#3410
(cherry picked from commit e14e764c0d5d469da63d0819c6ffc0e1e9e7f0bb)
crypto/bn/bn_sqr.c