free NULL cleanup
authorRich Salz <rsalz@akamai.com>
Tue, 24 Mar 2015 14:17:37 +0000 (10:17 -0400)
committerRich Salz <rsalz@akamai.com>
Wed, 25 Mar 2015 03:17:16 +0000 (23:17 -0400)
commitd64070838ebba86f00fb3755df5d3e65106e1628
treedef90b3063d9ebe0f53920604d02b9786216e327
parent1300705a47b9c9498b15a384c6c5348adc342e2c
free NULL cleanup

Start ensuring all OpenSSL "free" routines allow NULL, and remove
any if check before calling them.
This gets DH_free, DSA_free, RSA_free

Reviewed-by: Matt Caswell <matt@openssl.org>
34 files changed:
apps/dh.c
apps/dhparam.c
apps/dsa.c
apps/dsaparam.c
apps/gendh.c
apps/gendsa.c
apps/genrsa.c
apps/rsa.c
apps/s_server.c
apps/speed.c
crypto/dh/dh_ameth.c
crypto/dh/dh_asn1.c
crypto/dh/dh_lib.c
crypto/dh/dhtest.c
crypto/dsa/dsa_ameth.c
crypto/dsa/dsa_depr.c
crypto/dsa/dsa_lib.c
crypto/dsa/dsatest.c
crypto/evp/evp_extra_test.c
crypto/pem/pvkfmt.c
crypto/rsa/rsa_depr.c
demos/easy_tls/easy-tls.c
doc/crypto/DH_new.pod
doc/crypto/DSA_new.pod
doc/crypto/RSA_new.pod
engines/ccgost/gost_ameth.c
engines/e_capi.c
engines/e_chil.c
engines/e_sureware.c
ssl/s3_clnt.c
ssl/s3_lib.c
ssl/ssl_cert.c
ssl/ssl_conf.c
ssl/ssltest.c