Added NULL check to BN_clear() & BN_CTX_end()
authorShane Lontis <shane.lontis@oracle.com>
Mon, 18 Mar 2019 23:58:09 +0000 (09:58 +1000)
committerRichard Levitte <levitte@openssl.org>
Tue, 19 Mar 2019 06:28:39 +0000 (07:28 +0100)
commitc8a9fa6910c3cb6e9b5f8eb029eb6fc80dfc9cfe
tree3f49acaee5fa5cb5a30e2669550c3f2ccd4bc04e
parent202f7c56597eb6f57eba1ea31503a734e5fbf930
Added NULL check to BN_clear() & BN_CTX_end()

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8518)

(cherry picked from commit ce1415ed2ce15305356cd028bcf7b9bc688d6d5c)
16 files changed:
crypto/bn/bn_ctx.c
crypto/bn/bn_lib.c
crypto/bn/bn_prime.c
crypto/dh/dh_check.c
crypto/dh/dh_gen.c
crypto/dh/dh_key.c
crypto/dsa/dsa_gen.c
crypto/ec/ec2_smpl.c
crypto/ec/ec_lib.c
crypto/ec/ec_mult.c
crypto/ec/ecdh_ossl.c
crypto/ec/ecp_nistz256.c
crypto/ec/ecp_smpl.c
crypto/rsa/rsa_gen.c
crypto/rsa/rsa_ossl.c
crypto/rsa/rsa_x931g.c