Commit 3d35eb1e47 for openssl.org
commit 3d35eb1e47000dd1d6832bc6e7bfc6195c796a2c
Author: Eugene Syromiatnikov <esyr@openssl.org>
Date: Wed Sep 30 16:40:39 2026 +0200
doc/man1/openssl-rand.pod.in: mention that -n affects only hex output
Neither base64 nor binary output are affected by it.
Complements: a3b7e0911492 "Add -n option to openssl-rand to not output the trailing newline"
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Merge-date: Fri Oct 2 08:28:52 2026
Merged-from: https://github.com/openssl/openssl/pull/33054
diff --git a/doc/man1/openssl-rand.pod.in b/doc/man1/openssl-rand.pod.in
index 310d65946c..6331269003 100644
--- a/doc/man1/openssl-rand.pod.in
+++ b/doc/man1/openssl-rand.pod.in
@@ -58,7 +58,7 @@ Show the output as a hex string.
=item B<-n>
-Do not output the trailing newline.
+Do not output the trailing newline when the output is a hex string.
{- $OpenSSL::safe::opt_r_item -}