openssl/test/testutil
Rich Salz 742ccab318 Deprecate most of debug-memory
Fixes #8322

The leak-checking (and backtrace option, on some platforms) provided
by crypto-mdebug and crypto-mdebug-backtrace have been mostly neutered;
only the "make malloc fail" capability remains.  OpenSSL recommends using
the compiler's leak-detection instead.

The OPENSSL_DEBUG_MEMORY environment variable is no longer used.
CRYPTO_mem_ctrl(), CRYPTO_set_mem_debug(), CRYPTO_mem_leaks(),
CRYPTO_mem_leaks_fp() and CRYPTO_mem_leaks_cb() return a failure code.
CRYPTO_mem_debug_{malloc,realloc,free}() have been removed.  All of the
above are now deprecated.

Merge (now really small) mem_dbg.c into mem.c

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10572)
2019-12-14 20:57:35 +01:00
..
apps_mem.c testutil: ensure good treatment of argv on non-Unix platforms 2019-03-05 08:53:19 +01:00
basic_output.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
cb.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
driver.c Deprecate most of debug-memory 2019-12-14 20:57:35 +01:00
format_output.c Add a format attribute to the format functions and fix the broken format 2018-12-09 22:02:50 -05:00
main.c Updated test command line parsing to support commmon commands 2019-02-11 15:31:51 +01:00
options.c Updated test command line parsing to support commmon commands 2019-02-11 15:31:51 +01:00
output_helpers.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
output.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
random.c Add weak platform independent PRNG to test framework. 2019-07-29 09:11:15 +10:00
stanza.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
tap_bio.c don't pass const string where a modifyable string is expected 2018-12-09 22:02:49 -05:00
test_cleanup.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
test_options.c Updated test command line parsing to support commmon commands 2019-02-11 15:31:51 +01:00
tests.c Test skip option. 2019-05-09 20:21:09 +10:00
testutil_init.c testutil/init.c rename to testutil/testutil_init.c 2019-11-14 20:36:38 +01:00
tu_local.h Test skip option. 2019-05-09 20:21:09 +10:00