]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix faulty detail in BN_rand() manual
authorRichard Levitte <levitte@openssl.org>
Thu, 25 Nov 2021 07:58:21 +0000 (08:58 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 11 Dec 2021 08:29:56 +0000 (09:29 +0100)
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17131)

doc/man3/BN_rand.pod

index d57348e62b8cf3bb67b1b49edf0d836ba968fa96..a183ff7db1eb1b85d787d555ddfddfdf4e6c7724 100644 (file)
@@ -38,7 +38,7 @@ the number will be set to 1, so that the product of two such random
 numbers will always have 2*B<bits> length.
 If B<bottom> is B<BN_RAND_BOTTOM_ODD>, the number will be odd; if it
 is B<BN_RAND_BOTTOM_ANY> it can be odd or even.
-If B<bits> is 1 then B<top> cannot also be B<BN_RAND_FLG_TOPTWO>.
+If B<bits> is 1 then B<top> cannot also be B<BN_RAND_TOP_TWO>.
 
 BN_rand_range() generates a cryptographically strong pseudo-random
 number B<rnd> in the range 0 E<lt>= B<rnd> E<lt> B<range>.