From: Dr. Matthias St. Pierre Date: Thu, 27 Jun 2019 10:50:26 +0000 (+0200) Subject: man: fix documentation for RSA_generate_key() X-Git-Tag: openssl-3.0.0-alpha1~1856 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0588be2e01c244c41b0215689f411a6223063fd7;p=oweals%2Fopenssl.git man: fix documentation for RSA_generate_key() Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/9260) --- diff --git a/doc/man3/RSA_generate_key.pod b/doc/man3/RSA_generate_key.pod index b4ff54f80a..b463392038 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 with a suitable version value, see L: - 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 is not B, it will be called as follows using the BN_GENCB_call() function described on the L 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 for information on the old-style callback.