From: Bodo Möller Date: Wed, 1 Mar 2000 11:45:53 +0000 (+0000) Subject: 'rand'/'-rand' documentation. X-Git-Tag: OpenSSL_0_9_5a-beta1~132 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=afbd0746cfbbf80f99829da2a58aed6f1785beb9 'rand'/'-rand' documentation. --- 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|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 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 + =cut