From bb6c5e7f6956c5cd1049136d79e631ca8338fc7b Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sun, 5 Feb 2017 10:29:22 -0500 Subject: [PATCH] Doc fix MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported by Alexander Köppe Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/2557) --- doc/man3/RSA_generate_key.pod | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/man3/RSA_generate_key.pod b/doc/man3/RSA_generate_key.pod index ebbd2560f0..24e05bd8a7 100644 --- a/doc/man3/RSA_generate_key.pod +++ b/doc/man3/RSA_generate_key.pod @@ -53,14 +53,15 @@ it is called as B. The process is then repeated for prime q with B. -RSA_generate_key is deprecated (new applications should use -RSA_generate_key_ex instead). RSA_generate_key works in the same way as -RSA_generate_key_ex except it uses "old style" call backs. See +RSA_generate_key() is deprecated (new applications should use +RSA_generate_key_ex() instead). RSA_generate_key() works in the same way as +RSA_generate_key_ex() except it uses "old style" call backs. See L for further details. =head1 RETURN VALUE -If key generation fails, RSA_generate_key() returns B. +RSA_generate_key_ex() returns 1 on success or 0 on error. +RSA_generate_key() returns the key on success or B on error. The error codes can be obtained by L. -- 2.25.1