]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc/man1/openssl-enc.pod.in: document 'k' handling for -bufsize
authorEugene Syromiatnikov <esyr@openssl.org>
Mon, 1 Sep 2025 12:08:08 +0000 (14:08 +0200)
committerNeil Horman <nhorman@openssl.org>
Sat, 6 Sep 2025 14:18:21 +0000 (10:18 -0400)
Apparently, '-bufsize' option parser can handle the 'k' suffix
(and treat is as the value being provided in the multiples of 1024).
Document that.

Complements: d02b48c63a58 "Import of old SSLeay release: SSLeay 0.8.1b"
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28408)

(cherry picked from commit 05902818236f65de43c48d60353f989530a5e7b9)

doc/man1/openssl-enc.pod.in

index 4612ab0a7ea604e78ab17d5918106b0ee7b4faea..194f6890f104ad8fc3c2c2d97b449e51c1109a09 100644 (file)
@@ -180,10 +180,12 @@ Print out the key and IV used.
 Print out the key and IV used then immediately exit: don't do any encryption
 or decryption.
 
-=item B<-bufsize> I<number>
+=item B<-bufsize> I<number>[B<k>]
 
 Set the buffer size for I/O.
 The maximum size that can be specified is B<2^31-1> (2147483647) bytes.
+The B<k> suffix can be specified to indicate that I<number> is provided
+in kibibytes (multiples of 1024 bytes).
 
 =item B<-nopad>