diff options
Diffstat (limited to 'secure/usr.bin/openssl/man/rand.1')
-rw-r--r-- | secure/usr.bin/openssl/man/rand.1 | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/secure/usr.bin/openssl/man/rand.1 b/secure/usr.bin/openssl/man/rand.1 index b3ce4d20b719..c2c1191737cd 100644 --- a/secure/usr.bin/openssl/man/rand.1 +++ b/secure/usr.bin/openssl/man/rand.1 @@ -129,19 +129,20 @@ .\" ======================================================================== .\" .IX Title "RAND 1" -.TH RAND 1 "2018-08-14" "1.0.2p" "OpenSSL" +.TH RAND 1 "2018-09-11" "1.1.1" "OpenSSL" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" -openssl\-rand, -rand \- generate pseudo\-random bytes +openssl\-rand, rand \- generate pseudo\-random bytes .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBopenssl rand\fR +[\fB\-help\fR] [\fB\-out\fR \fIfile\fR] -[\fB\-rand\fR \fIfile(s)\fR] +[\fB\-rand file...\fR] +[\fB\-writerand file\fR] [\fB\-base64\fR] [\fB\-hex\fR] \&\fInum\fR @@ -155,16 +156,23 @@ in addition to the files given in the \fB\-rand\fR option. A new seeding was obtained from these sources. .SH "OPTIONS" .IX Header "OPTIONS" -.IP "\fB\-out\fR \fIfile\fR" 4 +.IP "\fB\-help\fR" 4 +.IX Item "-help" +Print out a usage message. +.IP "\fB\-out file\fR" 4 .IX Item "-out file" Write to \fIfile\fR instead of standard output. -.IP "\fB\-rand\fR \fIfile(s)\fR" 4 -.IX Item "-rand file(s)" -Use specified file or files or \s-1EGD\s0 socket (see \fIRAND_egd\fR\|(3)) -for seeding the random number generator. -Multiple files can be specified separated by a OS-dependent character. +.IP "\fB\-rand file...\fR" 4 +.IX Item "-rand file..." +A file or files containing random data used to seed the random number +generator. +Multiple files can be specified separated by an OS-dependent character. The separator is \fB;\fR for MS-Windows, \fB,\fR for OpenVMS, and \fB:\fR for all others. +.IP "[\fB\-writerand file\fR]" 4 +.IX Item "[-writerand file]" +Writes random data to the specified \fIfile\fR upon exit. +This can be used with a subsequent \fB\-rand\fR flag. .IP "\fB\-base64\fR" 4 .IX Item "-base64" Perform base64 encoding on the output. @@ -174,3 +182,11 @@ Show the output as a hex string. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIRAND_bytes\fR\|(3) +.SH "COPYRIGHT" +.IX Header "COPYRIGHT" +Copyright 2000\-2016 The OpenSSL Project Authors. All Rights Reserved. +.PP +Licensed under the OpenSSL license (the \*(L"License\*(R"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file \s-1LICENSE\s0 in the source distribution or at +<https://www.openssl.org/source/license.html>. |