Fixes a minor typo in the EVP docs.

Out is the buffer which needs to contain at least inl + cipher_block_size - 1 bytes. Outl
is just an int*.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
Alok Menghrajani 2014-11-11 14:39:11 -08:00 committed by Matt Caswell
parent ae64fb528e
commit 5211e094de

View File

@ -128,7 +128,7 @@ writes the encrypted version to B<out>. This function can be called
multiple times to encrypt successive blocks of data. The amount multiple times to encrypt successive blocks of data. The amount
of data written depends on the block alignment of the encrypted data: of data written depends on the block alignment of the encrypted data:
as a result the amount of data written may be anything from zero bytes as a result the amount of data written may be anything from zero bytes
to (inl + cipher_block_size - 1) so B<outl> should contain sufficient to (inl + cipher_block_size - 1) so B<out> should contain sufficient
room. The actual number of bytes written is placed in B<outl>. room. The actual number of bytes written is placed in B<outl>.
If padding is enabled (the default) then EVP_EncryptFinal_ex() encrypts If padding is enabled (the default) then EVP_EncryptFinal_ex() encrypts