Declare the CFB and OFB modes for AES, and prepare for a declaration
[openssl.git] / crypto / evp / p_seal.c
index 5570ca3745648aeecdd8c5515bfa671e3095ae73..37e547fe7276a1ee748456a5008f4ca34bacde18 100644 (file)
@@ -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;
        }