Add CRYPTO_get_alloc_counts.
authorRich Salz <rsalz@openssl.org>
Thu, 5 Oct 2017 01:17:58 +0000 (21:17 -0400)
committerRich Salz <rsalz@openssl.org>
Fri, 13 Oct 2017 02:04:12 +0000 (22:04 -0400)
commit0e598a3d185e9bbfe1a513c05063970a1c532e23
treeca2dcce92dfeaa5413c6a065e17127b76860b4b8
parent8abeefeccc4cfbfba9b5ebfc7604fe257a97317a
Add CRYPTO_get_alloc_counts.

Use atomic operations for the counters
Rename malloc_lock to memdbg_lock
Also fix some style errors in mem_dbg.c

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4359)
crypto/mem.c
crypto/mem_dbg.c
doc/man3/OPENSSL_malloc.pod
include/internal/cryptlib.h
include/openssl/crypto.h
util/libcrypto.num