diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2018-12-23 08:35:15 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2018-12-23 08:35:15 +0000 |
commit | 11160d7f6f5c276f08f5e45588c557d3ae8729de (patch) | |
tree | 31d5ea1d54f36dfcb454b1df5f5ee25dcab0924f /lib/libcrypto/man/EVP_DigestVerifyInit.3 | |
parent | 9497453185719aa31d7c445f6cdc488e929304cd (diff) |
EVP_MD_CTX_cleanup() is deprecated and doesn't free, so recommend using
EVP_MD_CTX_free() instead if the goal is to avoid leaking memory.
From my corresponding upstream commit, reminded by schwarze
Diffstat (limited to 'lib/libcrypto/man/EVP_DigestVerifyInit.3')
-rw-r--r-- | lib/libcrypto/man/EVP_DigestVerifyInit.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/man/EVP_DigestVerifyInit.3 b/lib/libcrypto/man/EVP_DigestVerifyInit.3 index 5138e784f4a..3904e20afa1 100644 --- a/lib/libcrypto/man/EVP_DigestVerifyInit.3 +++ b/lib/libcrypto/man/EVP_DigestVerifyInit.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EVP_DigestVerifyInit.3,v 1.6 2018/05/13 14:00:22 schwarze Exp $ +.\" $OpenBSD: EVP_DigestVerifyInit.3,v 1.7 2018/12/23 08:35:14 tb Exp $ .\" OpenSSL fb552ac6 Sep 30 23:43:01 2009 +0000 .\" .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. @@ -49,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: May 13 2018 $ +.Dd $Mdocdate: December 23 2018 $ .Dt EVP_DIGESTVERIFYINIT 3 .Os .Sh NAME @@ -151,7 +151,7 @@ can be called later to digest and verify additional data. .Pp Since only a copy of the digest context is ever finalized, the context must be cleaned up after use by calling -.Xr EVP_MD_CTX_cleanup 3 +.Xr EVP_MD_CTX_free 3 or a memory leak will occur. .Sh RETURN VALUES .Fn EVP_DigestVerifyInit |