diff options
author | Rich Salz <rsalz@akamai.com> | 2014-07-02 23:38:34 -0400 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2014-07-02 23:38:34 -0400 |
commit | 538860a3ce0b9fd142a7f1a62e597cccb74475d3 (patch) | |
tree | 049b236c6220e50c04f8ef372d25732b30a6e6e8 | |
parent | a5a317872869255ab61565f487cd4467a3756fc7 (diff) | |
download | openssl-new-538860a3ce0b9fd142a7f1a62e597cccb74475d3.tar.gz |
RT 1638; EVP_*Final() should mention they no longer cleanup the ctx.
-rw-r--r-- | doc/crypto/EVP_EncryptInit.pod | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/crypto/EVP_EncryptInit.pod b/doc/crypto/EVP_EncryptInit.pod index f6e4396ade..3b132c4490 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<ctx> 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<ctx> 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<ctx>, 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 |