]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc: add a note to the RAND_get0_ calls indicating how to set the DRBG type.
authorPauli <ppzgs1@gmail.com>
Tue, 2 Mar 2021 08:33:55 +0000 (18:33 +1000)
committerPauli <ppzgs1@gmail.com>
Wed, 3 Mar 2021 12:03:26 +0000 (22:03 +1000)
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)

doc/man3/RAND_get0_primary.pod

index cf0fae95f7c31d87301283810c9be77adc95bc45..6ee3da2df76c229cea5c9ba3c2756b8518db8ca7 100644 (file)
@@ -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