Small documentation fix for EVP_CipherFinal or EVP_CipherFinal_ex.
authorRichard Levitte <levitte@openssl.org>
Wed, 8 May 2002 15:20:38 +0000 (15:20 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 8 May 2002 15:20:38 +0000 (15:20 +0000)
Notified by Stella Power <snpower@maths.tcd.ie>.
PR: 24

doc/crypto/EVP_EncryptInit.pod

index 228e1f9e7e3f990079d96f903f984109a0e6e507..371b6a2287e40b98368fec7f05c50cd8f1e80937 100644 (file)
@@ -243,7 +243,7 @@ EVP_DecryptInit_ex() and EVP_DecryptUpdate() return 1 for success and 0 for fail
 EVP_DecryptFinal_ex() returns 0 if the decrypt failed or 1 for success.
 
 EVP_CipherInit_ex() and EVP_CipherUpdate() return 1 for success and 0 for failure.
-EVP_CipherFinal_ex() returns 1 for a decryption failure or 1 for success.
+EVP_CipherFinal_ex() returns 0 for a decryption failure or 1 for success.
 
 EVP_CIPHER_CTX_cleanup() returns 1 for success and 0 for failure.