The doc says that EVP_EncryptUpdate's outl should contain inl + cipher_block_size - 1 bytes, but the output buffer is called out, not outl.
Patch is attached to this email and also viewable on github: https://github.com/openssl/openssl/pull/195 Alok
0001-Fixes-a-minor-typo-in-the-EVP-docs.patch
Description: Binary data
