summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-03-02 18:33:55 +1000
committerPauli <ppzgs1@gmail.com>2021-03-03 22:03:26 +1000
commitcb54d1b9d7f0d386aa22550d8b12ecd43e248a3f (patch)
tree81322f702d16bd2445d04db7a44b9832a377327e
parentf21afe636067f9aa27cef94c31d8e32128da0ecb (diff)
doc: add a note to the RAND_get0_ calls indicating how to set the DRBG type.
The type needs to be set before the DRBGs are created. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14386)
-rw-r--r--doc/man3/RAND_get0_primary.pod7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/man3/RAND_get0_primary.pod b/doc/man3/RAND_get0_primary.pod
index cf0fae95f7..6ee3da2df7 100644
--- a/doc/man3/RAND_get0_primary.pod
+++ b/doc/man3/RAND_get0_primary.pod
@@ -57,9 +57,14 @@ During initialization, it is possible to change the reseed interval
and reseed time interval.
It is also possible to exchange the reseeding callbacks entirely.
+To set the type of DRBG that will be instantiated, use the
+L<RAND_set_DRBG_type(3)> call before accessing the random number generation
+infrastructure.
+
=head1 SEE ALSO
-L<EVP_RAND(3)>
+L<EVP_RAND(3)>,
+L<RAND_set_DRBG_type(3)>
=head1 HISTORY