summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-11-25 08:58:21 +0100
committerRichard Levitte <levitte@openssl.org>2021-12-11 09:29:56 +0100
commit8b35838b44e83f323eaa5d7aeecc45c8e2321cf8 (patch)
tree5a2752d23237c60ba1a5c8fa08071e266f79fa62 /doc
parentf560b4cda1d3d8f8d7f5355a1f797699241a3ae8 (diff)
Fix faulty detail in BN_rand() manual
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17131)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/BN_rand.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man3/BN_rand.pod b/doc/man3/BN_rand.pod
index d57348e62b..a183ff7db1 100644
--- a/doc/man3/BN_rand.pod
+++ b/doc/man3/BN_rand.pod
@@ -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>.