summaryrefslogtreecommitdiffstats
path: root/doc/man3
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:22:58 +0100
commit391ce6d980c4f8f474ed28d1ea83849cc9a00100 (patch)
tree094c5d43df37c512073893e174bc2d4818c7c2d3 /doc/man3
parent7a2ad00f3ecffa6be350e9e72992d4ec003f54ae (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/man3')
-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 a443cae357..aebad1e72e 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.