Add EVP_CIPHER_CTX_cleanup() to avoid memory leak.

This commit is contained in:
Dr. Stephen Henson 2003-01-04 18:23:11 +00:00
parent 4d1e5535b2
commit e78a012305

View File

@ -1393,6 +1393,7 @@ int MAIN(int argc, char **argv)
else else
EVP_EncryptFinal_ex(&ctx,buf,&outl); EVP_EncryptFinal_ex(&ctx,buf,&outl);
d=Time_F(STOP); d=Time_F(STOP);
EVP_CIPHER_CTX_cleanup(&ctx);
} }
if (evp_md) if (evp_md)
{ {