diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-08-20 19:45:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-08-20 19:45:20 +0000 |
commit | 526018f030baea0992a0ca54257883f19e5cb8d7 (patch) | |
tree | 4049e8d5966341f22deee52cef1c6fffbf9d3626 /lib/libcrypto/man | |
parent | bc76a34d72f962259cfc6cea20b83c6f2fb66c1c (diff) |
mention CRYPTO_mem_leaks_cb(3) because OpenSSL
now also documents it, in OPENSSL_malloc.pod
Diffstat (limited to 'lib/libcrypto/man')
-rw-r--r-- | lib/libcrypto/man/CRYPTO_get_mem_functions.3 | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/lib/libcrypto/man/CRYPTO_get_mem_functions.3 b/lib/libcrypto/man/CRYPTO_get_mem_functions.3 index 0a1ca384a89..04c0ffadc27 100644 --- a/lib/libcrypto/man/CRYPTO_get_mem_functions.3 +++ b/lib/libcrypto/man/CRYPTO_get_mem_functions.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: CRYPTO_get_mem_functions.3,v 1.2 2016/11/29 21:29:19 jmc Exp $ +.\" $OpenBSD: CRYPTO_get_mem_functions.3,v 1.3 2017/08/20 19:45:19 schwarze Exp $ .\" .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 29 2016 $ +.Dd $Mdocdate: August 20 2017 $ .Dt CRYPTO_GET_MEM_FUNCTIONS 3 .Os .Sh NAME @@ -22,7 +22,8 @@ .Nm CRYPTO_set_mem_functions , .Nm CRYPTO_mem_ctrl , .Nm CRYPTO_mem_leaks , -.Nm CRYPTO_mem_leaks_fp +.Nm CRYPTO_mem_leaks_fp , +.Nm CRYPTO_mem_leaks_cb .Nd legacy OpenSSL memory allocation control .Sh SYNOPSIS .In openssl/crypto.h @@ -50,6 +51,18 @@ .Fo CRYPTO_mem_leaks_fp .Fa "FILE *fp" .Fc +.Ft typedef void * +.Fo CRYPTO_MEM_LEAK_CB +.Fa "unsigned long" +.Fa "const char *" +.Fa int +.Fa int +.Fa "void *" +.Fc +.Ft void +.Fo CRYPTO_mem_leaks_cb +.Fa "CRYPTO_MEM_LEAK_CB *cb" +.Fc .Sh DESCRIPTION Do not use any of the interfaces documented here. They are provided purely for compatibility with legacy application code. @@ -66,8 +79,9 @@ to those of its arguments that are not .Fn CRYPTO_set_mem_functions , .Fn CRYPTO_mem_ctrl , .Fn CRYPTO_mem_leaks , +.Fn CRYPTO_mem_leaks_fp , and -.Fn CRYPTO_mem_leaks_fp +.Fn CRYPTO_mem_leaks_cb have no effect. .Sh RETURN VALUES .Fn CRYPTO_set_mem_functions |