X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FRSA_generate_key.pod;h=be18ae24ff06014034cb95b206d9e6c7753df979;hp=6cda49d7457ec3283a703982cca7d99fe26397e5;hb=b3696a55a5ed80717723a589020af30adb5db606;hpb=e9b77246879071308130cda42336338ddb63cbb4 diff --git a/doc/man3/RSA_generate_key.pod b/doc/man3/RSA_generate_key.pod index 6cda49d745..be18ae24ff 100644 --- a/doc/man3/RSA_generate_key.pod +++ b/doc/man3/RSA_generate_key.pod @@ -32,6 +32,10 @@ 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 +expects an old-style callback function; see +L for information on the old-style callback. + =over 2 =item * @@ -53,28 +57,27 @@ 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 -L for further details. - =head1 RETURN VALUE 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. +RSA_generate_key() returns a pointer to the RSA structure or +B if the key generation fails. + =head1 BUGS B is used with two different meanings. -RSA_generate_key() goes into an infinite loop for illegal input values. - =head1 SEE ALSO L, L, -L, L +L, L + +=head1 HISTORY + +RSA_generate_key() was deprecated in OpenSSL 0.9.8; use +RSA_generate_key_ex() intsead. =head1 COPYRIGHT