The branch master has been updated via bb6c5e7f6956c5cd1049136d79e631ca8338fc7b (commit) from e05a453f6af2debbc868136a9760fec78fbd0c53 (commit)
- Log ----------------------------------------------------------------- commit bb6c5e7f6956c5cd1049136d79e631ca8338fc7b Author: Rich Salz <rs...@openssl.org> Date: Sun Feb 5 10:29:22 2017 -0500 Doc fix Reported by Alexander Köppe Reviewed-by: Matt Caswell <m...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2557) ----------------------------------------------------------------------- Summary of changes: 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 ebbd256..24e05bd 100644 --- a/doc/man3/RSA_generate_key.pod +++ b/doc/man3/RSA_generate_key.pod @@ -53,14 +53,15 @@ it is called as B<BN_GENCB_call(cb, 3, 0)>. The process is then repeated for prime q with B<BN_GENCB_call(cb, 3, 1)>. -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<BN_generate_prime(3)> for further details. =head1 RETURN VALUE -If key generation fails, RSA_generate_key() returns B<NULL>. +RSA_generate_key_ex() returns 1 on success or 0 on error. +RSA_generate_key() returns the key on success or B<NULL> on error. The error codes can be obtained by L<ERR_get_error(3)>. _____ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits