]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Note that EVP_CIPHER_get_iv_length returns negative values on error
authorPauli <pauli@openssl.org>
Thu, 28 Jul 2022 01:20:37 +0000 (11:20 +1000)
committerPauli <pauli@openssl.org>
Wed, 3 Aug 2022 02:25:24 +0000 (12:25 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/18875)

doc/man3/EVP_EncryptInit.pod

index f81fdb2e00c119a5f0985a2b3cd5b39408b00565..c3d7fc8fd272018bd62d7becc76030ca23ab0420 100644 (file)
@@ -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.