aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-07-19 21:48:52 +0200
committerRichard Levitte <levitte@openssl.org>2016-07-19 23:49:54 +0200
commit0a5228543cc9535b6a20d496df2c7894a4446ad0 (patch)
treedda9b969568f5ea8995df0ade30bba3db39b9cb1 /doc
parentc1c26660df15fe89914e1fb353dd3064f8176fb5 (diff)
downloadopenssl-0a5228543cc9535b6a20d496df2c7894a4446ad0.tar.gz
Document the slight change in CRYPTO_mem_ctrl()
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/OPENSSL_malloc.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/crypto/OPENSSL_malloc.pod b/doc/crypto/OPENSSL_malloc.pod
index 574db8a5f3..0060b989a9 100644
--- a/doc/crypto/OPENSSL_malloc.pod
+++ b/doc/crypto/OPENSSL_malloc.pod
@@ -179,7 +179,8 @@ CRYPTO_set_mem_functions() and CRYPTO_set_mem_debug()
return 1 on success or 0 on failure (almost
always because allocations have already happened).
-CRYPTO_mem_ctrl() returns the previous value of the mode.
+CRYPTO_mem_ctrl() returns -1 if an error occured, otherwise the
+previous value of the mode.
OPENSSL_mem_debug_push() and OPENSSL_mem_debug_pop()
return 1 on success or 0 on failure.