diff options
author | Pauli <pauli@openssl.org> | 2022-07-28 03:20:37 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-08-03 04:25:24 +0200 |
commit | 0a90577e717f76483525b2d8be6a42a9f04020d8 (patch) | |
tree | 6bcc80d6792507bf3bf8b394f87c383751d95244 /doc | |
parent | Fix bug in EVP_CIPHER_CTX_get_iv_length() (diff) | |
download | openssl-0a90577e717f76483525b2d8be6a42a9f04020d8.tar.xz openssl-0a90577e717f76483525b2d8be6a42a9f04020d8.zip |
Note that EVP_CIPHER_get_iv_length returns negative values on error
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/18875)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/EVP_EncryptInit.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man3/EVP_EncryptInit.pod b/doc/man3/EVP_EncryptInit.pod index f81fdb2e00..c3d7fc8fd2 100644 --- a/doc/man3/EVP_EncryptInit.pod +++ b/doc/man3/EVP_EncryptInit.pod @@ -1234,7 +1234,7 @@ length. EVP_CIPHER_CTX_set_padding() always returns 1. EVP_CIPHER_get_iv_length() and EVP_CIPHER_CTX_get_iv_length() return the IV -length or zero if the cipher does not use an IV. +length, zero if the cipher does not use an IV and a negative value on error. EVP_CIPHER_CTX_get_tag_length() return the tag length or zero if the cipher does not use a tag. |