diff --git a/apps/dhparam.c b/apps/dhparam.c index 293a400d0c572f3e71831fdba1fd8d67004fb78b..dd9228aac8d8ff8a0f7110893890c96e95420357 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 1f6be9659968ac907678e2d6892cfb99b14ff706..acd799cea1c3c7588514d245cae087a9c5fc5823 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 d69a93da45127f13b2f6b46f26ceb0eeca45b42c..b1a1c4fcfae9fdfb3c1aa1435b1566066be4659d 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 dc63ff02bd85633a7b6907d683d1ebf71fc76681..6fe578d69feb675ed44216a1704ee9d51b9cb096 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 d535a71335b1d8720f0cf0f9ffa4636e1fe39c1a..bf76864713730ebfc6f3d7acd61b7fcad1a253c1 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 9ca84073a5281f92a9d5c0364cf398af1802a75d..f1c2e9491d0fcd1ecf4372dd54955c9fa60e8b59 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 77633cfb600abfc401ab06ebd50fceb5bd2fbcb0..27e8dcfb44d7ba4e3beeea8beecde9c0a5368b71 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 9b1320606ba7389834bcab2016697b1ab30ed881..5576823f6d40469a5d04c96c5228ade780251828 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|rand(1)> + +Generate pseudo-random bytes. + =item L|req(1)> X.509 Certificate Signing Request (CSR) Management. @@ -285,7 +289,7 @@ L, L, L, L, L, L, L, L, L, -L, L, L, +L, L, L, L, L, L, L, L, L, L, L, L diff --git a/doc/apps/rand.pod b/doc/apps/rand.pod index 4babf4e5ad14347c1dbdfbba246723d48137a3fa..65912d3da50bf668735c7862ca494ab0fa426d48 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 + =cut