projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1c2666
)
Document the slight change in CRYPTO_mem_ctrl()
author
Richard Levitte
<levitte@openssl.org>
Tue, 19 Jul 2016 19:48:52 +0000
(21:48 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 19 Jul 2016 21:49:54 +0000
(23:49 +0200)
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
doc/crypto/OPENSSL_malloc.pod
patch
|
blob
|
history
diff --git
a/doc/crypto/OPENSSL_malloc.pod
b/doc/crypto/OPENSSL_malloc.pod
index 574db8a5f39877829bd09db8fccb1eebe4c18058..0060b989a9b5d06899a0b79273b94bce705c2dee 100644
(file)
--- 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.