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:50:52 +0000 (23:50 +0100)
commit8e28ef0d854455e36266c055d3b8d89feca2b24d
treed59f32e256cf55f18ace0376d6e44f97bb79eb52
parent996edff7e1294c8677111f7140f80b5b263cfd77
Make sure BN_sqr can never return a negative value.

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