From: Mohamed Akram Date: Wed, 10 Mar 2021 14:59:13 +0000 (+0400) Subject: doc: fix enc -z option documentation X-Git-Tag: openssl-3.0.0-alpha14~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6635ea531e9f7709e5880dd77fd4c3403a5c3db7;p=thirdparty%2Fopenssl.git doc: fix enc -z option documentation CLA: trivial Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14499) --- diff --git a/apps/enc.c b/apps/enc.c index 9982337c017..c5766f05e85 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -92,7 +92,7 @@ const OPTIONS enc_options[] = { {"pbkdf2", OPT_PBKDF2, '-', "Use password-based key derivation function 2"}, {"none", OPT_NONE, '-', "Don't encrypt"}, #ifdef ZLIB - {"z", OPT_Z, '-', "Use zlib as the 'encryption'"}, + {"z", OPT_Z, '-', "Compress or decompress encrypted data using zlib"}, #endif {"", OPT_CIPHER, '-', "Any supported cipher"}, diff --git a/doc/man1/openssl-enc.pod.in b/doc/man1/openssl-enc.pod.in index cc0378c4718..acd14864498 100644 --- a/doc/man1/openssl-enc.pod.in +++ b/doc/man1/openssl-enc.pod.in @@ -187,8 +187,8 @@ Debug the BIOs used for I/O. =item B<-z> -Compress or decompress clear text using zlib before encryption or after -decryption. This option exists only if OpenSSL with compiled with zlib +Compress or decompress encrypted data using zlib after encryption or before +decryption. This option exists only if OpenSSL was compiled with the zlib or zlib-dynamic option. =item B<-none>