Change to check last return value of BN_CTX_get
authorPaul Yang <paulyang.inf@gmail.com>
Thu, 22 Jun 2017 10:52:29 +0000 (18:52 +0800)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 26 Jun 2017 13:40:16 +0000 (15:40 +0200)
commitedea42c602854c902b7909a150cd2412d7b8f215
treeb0e97a08a199df553af3dd0f6144dda7d77538e5
parent9e1d5e8dff693cb2b658f66db4f10709d8364690
Change to check last return value of BN_CTX_get

To make it consistent in the code base

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/3749)
16 files changed:
crypto/bn/bn_div.c
crypto/bn/bn_exp.c
crypto/bn/bn_exp2.c
crypto/bn/bn_gcd.c
crypto/bn/bn_gf2m.c
crypto/bn/bn_mont.c
crypto/bn/bn_recp.c
crypto/bn/bn_sqr.c
crypto/bn/bn_x931p.c
crypto/dh/dh_check.c
crypto/dh/dh_gen.c
crypto/ec/ecp_nistp224.c
crypto/ec/ecp_nistp256.c
crypto/ec/ecp_nistp521.c
crypto/ec/ecp_smpl.c
crypto/rsa/rsa_ossl.c