free cleanup almost the finale
authorRich Salz <rsalz@openssl.org>
Thu, 30 Apr 2015 21:57:32 +0000 (17:57 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 30 Apr 2015 21:57:32 +0000 (17:57 -0400)
commit4b45c6e52b208deff7da333d1c7f84bcd3986609
treedb26f7a51ad582f203dce2145a43c3e0d4376f69
parent68dc682499ea3fe27d909c946d7abd39062d6efd
free cleanup almost the finale

Add OPENSSL_clear_free which merges cleanse and free.
(Names was picked to be similar to BN_clear_free, etc.)
Removed OPENSSL_freeFunc macro.
Fixed the small simple ones that are left:
        CRYPTO_free CRYPTO_free_locked OPENSSL_free_locked

Reviewed-by: Richard Levitte <levitte@openssl.org>
56 files changed:
apps/apps.c
apps/dgst.c
apps/s_client.c
apps/s_server.c
crypto/asn1/a_sign.c
crypto/asn1/a_verify.c
crypto/bn/bn_rand.c
crypto/cms/cms_asn1.c
crypto/cms/cms_enc.c
crypto/cms/cms_env.c
crypto/cms/cms_kari.c
crypto/cms/cms_pwri.c
crypto/dh/dh_pmeth.c
crypto/dsa/dsa_asn1.c
crypto/ec/ec_key.c
crypto/ec/ec_lib.c
crypto/ec/ec_mult.c
crypto/ec/ec_pmeth.c
crypto/ec/ecp_nistp224.c
crypto/ec/ecp_nistp256.c
crypto/ec/ecp_nistp521.c
crypto/ec/ecp_nistz256.c
crypto/ecdh/ech_lib.c
crypto/ecdsa/ecs_lib.c
crypto/ecdsa/ecs_vrf.c
crypto/engine/eng_openssl.c
crypto/evp/bio_enc.c
crypto/evp/bio_ok.c
crypto/evp/digest.c
crypto/evp/evp_pbe.c
crypto/evp/p_open.c
crypto/hmac/hm_pmeth.c
crypto/mem.c
crypto/modes/gcm128.c
crypto/modes/ocb128.c
crypto/pem/pem_lib.c
crypto/pem/pem_pkey.c
crypto/pem/pvkfmt.c
crypto/pkcs12/p12_key.c
crypto/pkcs7/pk7_doit.c
crypto/rand/rand_lib.c
crypto/rsa/rsa_eay.c
crypto/rsa/rsa_lib.c
crypto/rsa/rsa_saos.c
crypto/rsa/rsa_sign.c
engines/e_4758cca.c
engines/e_sureware.c
include/openssl/crypto.h
ssl/s3_clnt.c
ssl/s3_enc.c
ssl/s3_lib.c
ssl/ssl_cert.c
ssl/ssl_sess.c
ssl/t1_enc.c
ssl/tls_srp.c
util/libeay.num