'rand'/'-rand' documentation.
authorBodo Möller <bodo@openssl.org>
Wed, 1 Mar 2000 11:45:53 +0000 (11:45 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 1 Mar 2000 11:45:53 +0000 (11:45 +0000)
apps/dhparam.c
apps/gendh.c
apps/gendsa.c
apps/genrsa.c
apps/pkcs12.c
apps/rand.c
apps/smime.c
doc/apps/openssl.pod
doc/apps/rand.pod

index 293a400d0c572f3e71831fdba1fd8d67004fb78b..dd9228aac8d8ff8a0f7110893890c96e95420357 100644 (file)
@@ -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");
index 1f6be9659968ac907678e2d6892cfb99b14ff706..acd799cea1c3c7588514d245cae087a9c5fc5823 100644 (file)
@@ -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;
index d69a93da45127f13b2f6b46f26ceb0eeca45b42c..b1a1c4fcfae9fdfb3c1aa1435b1566066be4659d 100644 (file)
@@ -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");
index dc63ff02bd85633a7b6907d683d1ebf71fc76681..6fe578d69feb675ed44216a1704ee9d51b9cb096 100644 (file)
@@ -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;
index d535a71335b1d8720f0cf0f9ffa4636e1fe39c1a..bf76864713730ebfc6f3d7acd61b7fcad1a253c1 100644 (file)
@@ -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;
index 9ca84073a5281f92a9d5c0364cf398af1802a75d..f1c2e9491d0fcd1ecf4372dd54955c9fa60e8b59 100644 (file)
@@ -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;
                }
index 77633cfb600abfc401ab06ebd50fceb5bd2fbcb0..27e8dcfb44d7ba4e3beeea8beecde9c0a5368b71 100644 (file)
@@ -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");
index 9b1320606ba7389834bcab2016697b1ab30ed881..5576823f6d40469a5d04c96c5228ade780251828 100644 (file)
@@ -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)> 
index 4babf4e5ad14347c1dbdfbba246723d48137a3fa..65912d3da50bf668735c7862ca494ab0fa426d48 100644 (file)
@@ -43,4 +43,8 @@ Perform base64 encoding on the output.
 
 =back
 
+=head1 SEE ALSO
+
+L<RAND_bytes(3)|RAND_bytes(3)>
+
 =cut