summaryrefslogtreecommitdiff
path: root/lib/libcrypto/evp/p_seal.c
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2002-05-21 01:49:12 +0000
committerBob Beck <beck@cvs.openbsd.org>2002-05-21 01:49:12 +0000
commit9b2a9967579b0f80efba45c01bb80b222b8d45f2 (patch)
treeded50191de034a4f2909459a26179e9d81f42c1a /lib/libcrypto/evp/p_seal.c
parent8d68b65a3eb5baf87a0f9ceccd66a839a1a81252 (diff)
Merge openssl-0.9.7-stable-SNAP-20020519
Diffstat (limited to 'lib/libcrypto/evp/p_seal.c')
-rw-r--r--lib/libcrypto/evp/p_seal.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libcrypto/evp/p_seal.c b/lib/libcrypto/evp/p_seal.c
index 5570ca37456..37e547fe727 100644
--- a/lib/libcrypto/evp/p_seal.c
+++ b/lib/libcrypto/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;
}