提交 0a522854 编写于 作者: R Richard Levitte

Document the slight change in CRYPTO_mem_ctrl()

Reviewed-by: NKurt Roeckx <kurt@openssl.org>
上级 c1c26660
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册