X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FRSA_generate_key.pod;h=e51c0b147b6ca92e95d03be1d830a602ab3e7a5b;hp=3bafc6fe27dbfb1b2972c7b8949f48b5b53fb6d1;hb=2f61bc2ea306c059d8b00ddf32025a0b30346d8f;hpb=99d63d4662e16afbeff49f29b48f1c87d5558ed0 diff --git a/doc/man3/RSA_generate_key.pod b/doc/man3/RSA_generate_key.pod index 3bafc6fe27..e51c0b147b 100644 --- a/doc/man3/RSA_generate_key.pod +++ b/doc/man3/RSA_generate_key.pod @@ -32,7 +32,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. -=over 4 +=over 2 =item * @@ -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 was 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. @@ -72,7 +73,7 @@ RSA_generate_key() goes into an infinite loop for illegal input values. =head1 SEE ALSO -L, L, +L, L, L, L =head1 COPYRIGHT