Commit a6c4ee6d authored by Richard Levitte's avatar Richard Levitte
Browse files

Small documentation fix for EVP_CipherFinal or EVP_CipherFinal_ex.

Notified by Stella Power <snpower@maths.tcd.ie>.
PR: 24
parent 3f8c72ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ EVP_DecryptInit() and EVP_DecryptUpdate() return 1 for success and 0 for failure
EVP_DecryptFinal() returns 0 if the decrypt failed or 1 for success.

EVP_CipherInit() and EVP_CipherUpdate() return 1 for success and 0 for failure.
EVP_CipherFinal() returns 1 for a decryption failure or 1 for success.
EVP_CipherFinal() returns 0 for a decryption failure or 1 for success.

EVP_CIPHER_CTX_cleanup() returns 1 for success and 0 for failure.