summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dhparam.c2
-rw-r--r--apps/gendh.c2
-rw-r--r--apps/gendsa.c2
-rw-r--r--apps/genrsa.c2
-rw-r--r--apps/pkcs12.c2
-rw-r--r--apps/rand.c2
-rw-r--r--apps/smime.c2
-rw-r--r--doc/apps/openssl.pod6
-rw-r--r--doc/apps/rand.pod4
9 files changed, 16 insertions, 8 deletions
diff --git a/apps/dhparam.c b/apps/dhparam.c
index 293a400d0c..dd9228aac8 100644
--- a/apps/dhparam.c
+++ b/apps/dhparam.c
@@ -172,7 +172,7 @@ bad:
BIO_printf(bio_err," -2 generate parameters using 2 as the generator value\n");
BIO_printf(bio_err," -5 generate parameters using 5 as the generator value\n");
BIO_printf(bio_err," numbits number of bits in to generate (default 512)\n");
- BIO_printf(bio_err," -rand file:file:...\n");
+ BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
BIO_printf(bio_err," - load the file (or the files in the directory) into\n");
BIO_printf(bio_err," the random number generator\n");
BIO_printf(bio_err," -noout no output\n");
diff --git a/apps/gendh.c b/apps/gendh.c
index 1f6be96599..acd799cea1 100644
--- a/apps/gendh.c
+++ b/apps/gendh.c
@@ -127,7 +127,7 @@ bad:
BIO_printf(bio_err," -2 use 2 as the generator value\n");
/* BIO_printf(bio_err," -3 use 3 as the generator value\n"); */
BIO_printf(bio_err," -5 use 5 as the generator value\n");
- BIO_printf(bio_err," -rand file:file:...\n");
+ BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
BIO_printf(bio_err," - load the file (or the files in the directory) into\n");
BIO_printf(bio_err," the random number generator\n");
goto end;
diff --git a/apps/gendsa.c b/apps/gendsa.c
index d69a93da45..b1a1c4fcfa 100644
--- a/apps/gendsa.c
+++ b/apps/gendsa.c
@@ -145,7 +145,7 @@ bad:
#ifndef NO_IDEA
BIO_printf(bio_err," -idea - encrypt the generated key with IDEA in cbc mode\n");
#endif
- BIO_printf(bio_err," -rand file:file:...\n");
+ BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
BIO_printf(bio_err," - load the file (or the files in the directory) into\n");
BIO_printf(bio_err," the random number generator\n");
BIO_printf(bio_err," dsaparam-file\n");
diff --git a/apps/genrsa.c b/apps/genrsa.c
index dc63ff02bd..6fe578d69f 100644
--- a/apps/genrsa.c
+++ b/apps/genrsa.c
@@ -154,7 +154,7 @@ bad:
BIO_printf(bio_err," -passout arg output file pass phrase source\n");
BIO_printf(bio_err," -f4 use F4 (0x10001) for the E value\n");
BIO_printf(bio_err," -3 use 3 for the E value\n");
- BIO_printf(bio_err," -rand file:file:...\n");
+ BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
BIO_printf(bio_err," load the file (or the files in the directory) into\n");
BIO_printf(bio_err," the random number generator\n");
goto err;
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index d535a71335..bf76864713 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -265,7 +265,7 @@ int MAIN(int argc, char **argv)
BIO_printf (bio_err, "-password p set import/export password source\n");
BIO_printf (bio_err, "-passin p input file pass phrase source\n");
BIO_printf (bio_err, "-passout p output file pass phrase source\n");
- BIO_printf(bio_err, "-rand file:file:...\n");
+ BIO_printf(bio_err, "-rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
BIO_printf(bio_err, " load the file (or the files in the directory) into\n");
BIO_printf(bio_err, " the random number generator\n");
goto end;
diff --git a/apps/rand.c b/apps/rand.c
index 9ca84073a5..f1c2e9491d 100644
--- a/apps/rand.c
+++ b/apps/rand.c
@@ -84,7 +84,7 @@ int MAIN(int argc, char **argv)
BIO_printf(bio_err, "Usage: rand [options] num\n");
BIO_printf(bio_err, "where options are\n");
BIO_printf(bio_err, "-out file - write to file\n");
- BIO_printf(bio_err, "-rand file:file:... - seed PRNG from files\n");
+ BIO_printf(bio_err, "-rand file%cfile%c... - seed PRNG from files\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
BIO_printf(bio_err, "-base64 - encode output\n");
goto err;
}
diff --git a/apps/smime.c b/apps/smime.c
index 77633cfb60..27e8dcfb44 100644
--- a/apps/smime.c
+++ b/apps/smime.c
@@ -272,7 +272,7 @@ int MAIN(int argc, char **argv)
BIO_printf (bio_err, "-text include or delete text MIME headers\n");
BIO_printf (bio_err, "-CApath dir trusted certificates directory\n");
BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
- BIO_printf(bio_err, "-rand file:file:...\n");
+ BIO_printf(bio_err, "-rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
BIO_printf(bio_err, " load the file (or the files in the directory) into\n");
BIO_printf(bio_err, " the random number generator\n");
BIO_printf (bio_err, "cert.pem recipient certificate(s) for encryption\n");
diff --git a/doc/apps/openssl.pod b/doc/apps/openssl.pod
index 9b1320606b..5576823f6d 100644
--- a/doc/apps/openssl.pod
+++ b/doc/apps/openssl.pod
@@ -103,6 +103,10 @@ Generation of hashed passwords.
PKCS#7 Data Management.
+=item L<B<rand>|rand(1)>
+
+Generate pseudo-random bytes.
+
=item L<B<req>|req(1)>
X.509 Certificate Signing Request (CSR) Management.
@@ -285,7 +289,7 @@ L<enc(1)|enc(1)>, L<gendsa(1)|gendsa(1)>,
L<genrsa(1)|genrsa(1)>, L<nseq(1)|nseq(1)>, L<openssl(1)|openssl(1)>,
L<passwd(1)|passwd(1)>,
L<pkcs12(1)|pkcs12(1)>, L<pkcs7(1)|pkcs7(1)>, L<pkcs8(1)|pkcs8(1)>,
-L<req(1)|req(1)>, L<rsa(1)|rsa(1)>, L<s_client(1)|s_client(1)>,
+L<rand(1)|rand(1)>, L<req(1)|req(1)>, L<rsa(1)|rsa(1)>, L<s_client(1)|s_client(1)>,
L<s_server(1)|s_server(1)>, L<smime(1)|smime(1)>, L<spkac(1)|spkac(1)>,
L<verify(1)|verify(1)>, L<version(1)|version(1)>, L<x509(1)|x509(1)>,
L<crypto(3)|crypto(3)>, L<ssl(3)|ssl(3)>
diff --git a/doc/apps/rand.pod b/doc/apps/rand.pod
index 4babf4e5ad..65912d3da5 100644
--- a/doc/apps/rand.pod
+++ b/doc/apps/rand.pod
@@ -43,4 +43,8 @@ Perform base64 encoding on the output.
=back
+=head1 SEE ALSO
+
+L<RAND_bytes(3)|RAND_bytes(3)>
+
=cut