From bd93f1ac2750450033dbfa76b5f1597b0145b585 Mon Sep 17 00:00:00 2001 From: Beat Bolli Date: Sat, 28 Jul 2018 16:45:22 -0400 Subject: [PATCH] doc/BN_generate_prime: update doc about other callback values This here page only documents the callback values 0 to 2, but the callers of BN_generate_prime_ex() call it with the value 3. The list of manual pages in the SEE ALSO section was extended with the output from git grep BN_GENCB_call.*[3-9] while in the doc/man3 directory. Signed-off-by: Beat Bolli Reviewed-by: Matthias St. Pierre Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/6802) --- doc/man3/BN_generate_prime.pod | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/man3/BN_generate_prime.pod b/doc/man3/BN_generate_prime.pod index 7cfa96e398..08158c1939 100644 --- a/doc/man3/BN_generate_prime.pod +++ b/doc/man3/BN_generate_prime.pod @@ -72,6 +72,11 @@ B is called as described below. When a prime has been found, B is called. +=item * + +The callers of BN_generate_prime_ex() may call B with +other values as described in their respective man pages; see L. + =back The prime may have to fulfill additional requirements for use in @@ -187,7 +192,8 @@ Instead applications should create a BN_GENCB structure using BN_GENCB_new: =head1 SEE ALSO -L, L +L, L, +L, L, L =head1 HISTORY -- 2.34.1