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:06:29 +0000 (16:06 -0400)
commit1915a22184f879f8008e2447214f515a20045314
tree4544e3a691e518ec01ffcbd786bf42af443ef5cc
parenta6ce498b2a00ea7bdca0730064d7ee62b77d87cb
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