aboutsummaryrefslogtreecommitdiff
path: root/doc/man3/BN_rand.pod
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:28:14 +0100
commit792d224772f849ac23384a55499ef2377ff781d3 (patch)
tree9f2e6f29e8fd826f184ee0b9287fe31b672ac2d8 /doc/man3/BN_rand.pod
parentcec27290387fe2b1706131c4840123b1f8bfb34f (diff)
downloadopenssl-792d224772f849ac23384a55499ef2377ff781d3.zip
openssl-792d224772f849ac23384a55499ef2377ff781d3.tar.gz
openssl-792d224772f849ac23384a55499ef2377ff781d3.tar.bz2
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/man3/BN_rand.pod')
-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 a443cae..aebad1e 100644
--- a/doc/man3/BN_rand.pod
+++ b/doc/man3/BN_rand.pod
@@ -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.