Fixes a minor typo in the EVP docs.
authorAlok Menghrajani <alok@squareup.com>
Tue, 11 Nov 2014 22:39:11 +0000 (14:39 -0800)
committerMatt Caswell <matt@openssl.org>
Wed, 12 Nov 2014 21:05:01 +0000 (21:05 +0000)
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>
(cherry picked from commit 5211e094dec9486a540ac480f345df1a8d2b2862)

doc/crypto/EVP_EncryptInit.pod

index 526447c0a61749961821c030a4f1c1cea9bd1eb4..fb6036f959ba0ce01ad27c2045a9f01368a5a810 100644 (file)
@@ -125,7 +125,7 @@ writes the encrypted version to B<out>. This function can be called
 multiple times to encrypt successive blocks of data. The amount
 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
 multiple times to encrypt successive blocks of data. The amount
 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
-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>.
 
 If padding is enabled (the default) then EVP_EncryptFinal_ex() encrypts
 room. The actual number of bytes written is placed in B<outl>.
 
 If padding is enabled (the default) then EVP_EncryptFinal_ex() encrypts