Skip to content

Commit

Permalink
Revert "Note that EVP_CIPHER_get_iv_length returns negative values on…
Browse files Browse the repository at this point in the history
… error"

This reverts commit 2a6275f.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from #18946)
  • Loading branch information
mattcaswell committed Aug 3, 2022
1 parent 2a6275f commit 20394c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/man3/EVP_EncryptInit.pod
Expand Up @@ -1216,7 +1216,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, zero if the cipher does not use an IV and a negative value on error.
length or zero if the cipher does not use an IV.

EVP_CIPHER_CTX_get_tag_length() return the tag length or zero if the cipher
does not use a tag.
Expand Down

0 comments on commit 20394c3

Please sign in to comment.