diff options
author | Richard Levitte <levitte@openssl.org> | 2017-04-19 12:51:06 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-04-24 18:09:01 +0200 |
commit | 20626cfd5870e80838010cddf99dd6297eceaa26 (patch) | |
tree | 2e11e89a048f99d331b8ea1e7779063c4f134ac6 /include/openssl/crypto.h | |
parent | 331058180aba047ac6b25da781eebc08b7267d2f (diff) | |
download | openssl-20626cfd5870e80838010cddf99dd6297eceaa26.zip openssl-20626cfd5870e80838010cddf99dd6297eceaa26.tar.gz openssl-20626cfd5870e80838010cddf99dd6297eceaa26.tar.bz2 |
Add CRYPTO_mem_leaks_cb
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3243)
Diffstat (limited to 'include/openssl/crypto.h')
-rw-r--r-- | include/openssl/crypto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h index a8b8dc1..42e888d 100644 --- a/include/openssl/crypto.h +++ b/include/openssl/crypto.h @@ -314,6 +314,8 @@ void CRYPTO_mem_debug_realloc(void *addr1, void *addr2, size_t num, int flag, void CRYPTO_mem_debug_free(void *addr, int flag, const char *file, int line); +int CRYPTO_mem_leaks_cb(int (*cb) (const char *str, size_t len, void *u), + void *u); # ifndef OPENSSL_NO_STDIO int CRYPTO_mem_leaks_fp(FILE *); # endif |