check bn_new return value
authormrpre <mrpre@163.com>
Fri, 28 Aug 2015 08:12:51 +0000 (16:12 +0800)
committerRich Salz <rsalz@openssl.org>
Mon, 31 Aug 2015 20:04:39 +0000 (16:04 -0400)
commitcae70cfd46d9b266c9e4a32c8a588235663ce091
tree9d1d0ae8301db20dbf6005da695ca476eb4531b7
parentdf1565ed9cebb6933ee7c6e762abcfefd1cd3846
check bn_new return value

Slightly modified from the original PR.
Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit a7e974c7be90e2c9673e2ce6215a70f734eb8ad4)
crypto/asn1/x_bignum.c