aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp/p_seal.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-05-11 17:37:08 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-05-11 17:37:08 +0000
commite9ba69631bb1ab9107337e4a4b7e859e12db4081 (patch)
tree6e2ea218bd438e6699686f7317138e4826f98d6c /crypto/evp/p_seal.c
parentd80a8d1919d33f34076ebb490379f00139b5a4f0 (diff)
downloadopenssl-e9ba69631bb1ab9107337e4a4b7e859e12db4081.tar.gz
EVP_SealFinal should return a value.
Diffstat (limited to 'crypto/evp/p_seal.c')
-rw-r--r--crypto/evp/p_seal.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/evp/p_seal.c b/crypto/evp/p_seal.c
index 5570ca3745..37e547fe72 100644
--- a/crypto/evp/p_seal.c
+++ b/crypto/evp/p_seal.c
@@ -106,8 +106,10 @@ int inl;
}
*/
-void EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
+int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
{
- EVP_EncryptFinal_ex(ctx,out,outl);
+ int i;
+ i = EVP_EncryptFinal_ex(ctx,out,outl);
EVP_EncryptInit_ex(ctx,NULL,NULL,NULL,NULL);
+ return i;
}