diff options
author | Davide Galassi <davxy@datawok.net> | 2020-02-10 07:49:10 +0100 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-02-10 07:49:10 +0100 |
commit | f4dcc09ba71c0a51771311428c20634f574ccf12 (patch) | |
tree | 3226ec1675e2f410bc9d3477778f40260d108629 /util/indent.pro | |
parent | x86: Always generate .note.gnu.property section for ELF outputs (diff) | |
download | openssl-f4dcc09ba71c0a51771311428c20634f574ccf12.tar.xz openssl-f4dcc09ba71c0a51771311428c20634f574ccf12.zip |
Memory allocator code cleanup
Typedefs of CRYPTO malloc, realloc and free.
MEM_CHECK "modes" are used only as a CRYPTO_mem_ctrl() parameter
The CRYPTO_mem_ctrl is defined only if OPENSSL_NO_CRYPTO_MDEBUG is
defined, thus define the MEM_CHECK modes under the same condition.
Maybe the macros can be removed at all since:
1. CRYPTO_mem_ctrl() just returns -1 and ignores the parameter
2. CRYPTO_mem_ctr() is declared as DEPRECATED by 3.0
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11042)
Diffstat (limited to 'util/indent.pro')
-rw-r--r-- | util/indent.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/indent.pro b/util/indent.pro index de260ae6b7..509377d204 100644 --- a/util/indent.pro +++ b/util/indent.pro @@ -162,6 +162,9 @@ -T CONF_METHOD -T CONF_MODULE -T CONF_VALUE +-T CRYPTO_malloc_fn +-T CRYPTO_realloc_fn +-T CRYPTO_free_fn -T CRYPTO_EX_DATA -T CRYPTO_EX_dup -T CRYPTO_EX_free |