From: Richard Levitte Date: Wed, 8 May 2002 15:20:38 +0000 (+0000) Subject: Small documentation fix for EVP_CipherFinal or EVP_CipherFinal_ex. X-Git-Tag: BEFORE_COMPAQ_PATCH~25 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=21d5ed98d5a1a4ced3fdfec8b9b40260a8d55547 Small documentation fix for EVP_CipherFinal or EVP_CipherFinal_ex. Notified by Stella Power . PR: 24 --- diff --git a/doc/crypto/EVP_EncryptInit.pod b/doc/crypto/EVP_EncryptInit.pod index 228e1f9e7e..371b6a2287 100644 --- a/doc/crypto/EVP_EncryptInit.pod +++ b/doc/crypto/EVP_EncryptInit.pod @@ -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.