[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Sat Jul 28 20:56:48 UTC 2018
The branch master has been updated
via bd93f1ac2750450033dbfa76b5f1597b0145b585 (commit)
from a75be9fd34b5d66f349186f21cd8d063d2fa87a4 (commit)
- Log -----------------------------------------------------------------
commit bd93f1ac2750450033dbfa76b5f1597b0145b585
Author: Beat Bolli <dev at drbeat.li>
Date: Sat Jul 28 16:45:22 2018 -0400
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 <dev at drbeat.li>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6802)
-----------------------------------------------------------------------
Summary of changes:
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 7cfa96e..08158c1 100644
--- a/doc/man3/BN_generate_prime.pod
+++ b/doc/man3/BN_generate_prime.pod
@@ -72,6 +72,11 @@ B<BN_GENCB_call(cb, 1, j)> is called as described below.
When a prime has been found, B<BN_GENCB_call(cb, 2, i)> is called.
+=item *
+
+The callers of BN_generate_prime_ex() may call B<BN_GENCB_call(cb, i, j)> with
+other values as described in their respective man pages; see L</SEE ALSO>.
+
=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<ERR_get_error(3)>, L<RAND_bytes(3)>
+L<DH_generate_parameters(3)>, L<DSA_generate_parameters(3)>,
+L<RSA_generate_key(3)>, L<ERR_get_error(3)>, L<RAND_bytes(3)>
=head1 HISTORY
More information about the openssl-commits
mailing list