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:22:58 +0000 (09:22 +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 a443cae3570d5c4858c371b547bde35bf57f828f..aebad1e72eb2c2997b91bc4fd331dd04cb57a3e8 100644 (file)
@@ -53,7 +53,7 @@ the number will be set to 1, so that the product of two such random
 numbers will always have 2*I<bits> length.
 If I<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 I<bits> is 1 then I<top> cannot also be B<BN_RAND_FLG_TOPTWO>.
+If I<bits> is 1 then I<top> cannot also be B<BN_RAND_TOP_TWO>.
 
 BN_rand() is the same as BN_rand_ex() except that the default library context
 is always used.