doc: fix enc -z option documentation
authorMohamed Akram <mohd.akram@outlook.com>
Wed, 10 Mar 2021 14:59:13 +0000 (18:59 +0400)
committerTomas Mraz <tomas@openssl.org>
Tue, 30 Mar 2021 17:17:39 +0000 (19:17 +0200)
CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14499)

apps/enc.c
doc/man1/openssl-enc.pod.in

index 9982337c01725337826582f95380ca7a0590acee..c5766f05e85eadc9bd2efd89111c0e4a3dea5ff6 100644 (file)
@@ -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"},
 
index cc0378c4718191bc0ce4df9b69c422883433b637..acd148644986d968d0289524fae58cb70ea45153 100644 (file)
@@ -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>