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:56 +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)

(cherry picked from commit 6635ea531e9f7709e5880dd77fd4c3403a5c3db7)

apps/enc.c
doc/man1/enc.pod

index ddf51e0dba156397a52a5df4a64262856ce10ff7..79a8ef6265d03c8fd8ee355e05025a98389d23e4 100644 (file)
@@ -81,7 +81,7 @@ const OPTIONS enc_options[] = {
     {"", OPT_CIPHER, '-', "Any supported cipher"},
     OPT_R_OPTIONS,
 #ifdef ZLIB
-    {"z", OPT_Z, '-', "Use zlib as the 'encryption'"},
+    {"z", OPT_Z, '-', "Compress or decompress encrypted data using zlib"},
 #endif
 #ifndef OPENSSL_NO_ENGINE
     {"engine", OPT_ENGINE, 's', "Use engine, possibly a hardware device"},
index 3c7b6c42ea2ca567a5242069c3cdda4b43dbda53..9068282db5431bac0f86973bf20aedd018421a42 100644 (file)
@@ -180,8 +180,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>