Make EVP_SealInit() and EVP_OpenInit() check EVP_EncryptInit() and

EVP_DecryptInit() return values.

Update docs.
This commit is contained in:
Dr. Stephen Henson
2000-06-11 12:27:58 +00:00
parent a91dedca48
commit fd75eb50c0
4 changed files with 5 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ key length must match the fixed cipher length.
EVP_OpenInit() returns -1 on error or a non zero integer (actually the
recovered secret key size) if successful.
EVP_OpenUpdate() does not return a value.
EVP_OpenUpdate() returns 1 for success of 0 for failure.
EVP_OpenFinal() returns 0 if the decrypt failed or 1 for success.

View File

@@ -43,7 +43,8 @@ page.
EVP_SealInit() returns -1 on error or B<npubk> if successful.
EVP_SealUpdate() and EVP_SealFinal() do not return values.
EVP_SealUpdate() and EVP_SealFinal() return 1 for success and 0 for
failure.
=head1 NOTES