From: Rich Salz Date: Mon, 30 May 2016 19:01:09 +0000 (-0400) Subject: RT4546: Backport doc fix X-Git-Tag: OpenSSL_1_0_2i~144 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=95fb422aceea9f48e3f5f04c745801fcbf953012;p=oweals%2Fopenssl.git RT4546: Backport doc fix Reviewed-by: Matt Caswell Manual cherry-pick of 538860a3ce0b9fd142a7f1a62e597cccb74475d3. --- diff --git a/doc/crypto/EVP_EncryptInit.pod b/doc/crypto/EVP_EncryptInit.pod index c69e6a6d70..d9513338d8 100644 --- a/doc/crypto/EVP_EncryptInit.pod +++ b/doc/crypto/EVP_EncryptInit.pod @@ -165,10 +165,11 @@ similar way to EVP_EncryptInit_ex(), EVP_DecryptInit_ex and EVP_CipherInit_ex() except the B parameter does not need to be initialized and they always use the default cipher implementation. -EVP_EncryptFinal(), EVP_DecryptFinal() and EVP_CipherFinal() behave in a -similar way to EVP_EncryptFinal_ex(), EVP_DecryptFinal_ex() and -EVP_CipherFinal_ex() except B is automatically cleaned up -after the call. +EVP_EncryptFinal(), EVP_DecryptFinal() and EVP_CipherFinal() are +identical to EVP_EncryptFinal_ex(), EVP_DecryptFinal_ex() and +EVP_CipherFinal_ex(). In previous releases they also cleaned up +the B, but this is no longer done and EVP_CIPHER_CTX_clean() +must be called to free any context resources. EVP_get_cipherbyname(), EVP_get_cipherbynid() and EVP_get_cipherbyobj() return an EVP_CIPHER structure when passed a cipher name, a NID or an