The branch master has been updated
via 0588be2e01c244c41b0215689f411a6223063fd7 (commit)
from 743694a6c29e5a6387819523fad5e3b7e613f1ee (commit)
- Log -----------------------------------------------------------------
commit 0588be2e01c244c41b0215689f411a6223063fd7
Author: Dr. Matthias St. Pierre <[email protected]>
Date: Thu Jun 27 12:50:26 2019 +0200
man: fix documentation for RSA_generate_key()
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/9260)
-----------------------------------------------------------------------
Summary of changes:
doc/man3/RSA_generate_key.pod | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/man3/RSA_generate_key.pod b/doc/man3/RSA_generate_key.pod
index b4ff54f..b463392 100644
--- a/doc/man3/RSA_generate_key.pod
+++ b/doc/man3/RSA_generate_key.pod
@@ -16,7 +16,7 @@ Deprecated since OpenSSL 0.9.8, can be hidden entirely by
defining
B<OPENSSL_API_COMPAT> with a suitable version value, see
L<openssl_user_macros(7)>:
- RSA *RSA_generate_key(int num, unsigned long e,
+ RSA *RSA_generate_key(int bits, unsigned long e,
void (*callback)(int, int, void *), void *cb_arg);
=head1 DESCRIPTION
@@ -47,7 +47,7 @@ progress of the key generation. If B<cb> is not B<NULL>, it
will be called as follows using the BN_GENCB_call() function
described on the L<BN_generate_prime(3)> page.
-RSA_generate_prime() is similar to RSA_generate_prime_ex() but
+RSA_generate_key() is similar to RSA_generate_key_ex() but
expects an old-style callback function; see
L<BN_generate_prime(3)> for information on the old-style callback.