Fix upgrading docs for RSA_private_encrypt/RSA_public_decrypt
authorRobbie Harwood <rharwood@redhat.com>
Wed, 19 May 2021 19:15:19 +0000 (15:15 -0400)
committerDmitry Belyavskiy <beldmit@gmail.com>
Sat, 22 May 2021 10:18:14 +0000 (12:18 +0200)
Despite the name, these functions manipulate signatures, which means
that their replacements are the EVP_PKEY_sign/EVP_PKEY_verify family.

Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/15359)

doc/man3/RSA_private_encrypt.pod

index a74a39834c6f670e395ea8e9181f522d74eeb4b1..4b97d874c3a38a05725ce64be529d3c4cc2f7496 100644 (file)
@@ -21,9 +21,9 @@ L<openssl_user_macros(7)>:
 =head1 DESCRIPTION
 
 Both of the functions described on this page are deprecated.
-Applications should instead use L<EVP_PKEY_encrypt_init_ex(3)>,
-L<EVP_PKEY_encrypt(3)>, L<EVP_PKEY_decrypt_init_ex(3)> and
-L<EVP_PKEY_decrypt(3)>.
+Applications should instead use L<EVP_PKEY_sign_init_ex(3)>,
+L<EVP_PKEY_sign(3)>, L<EVP_PKEY_verify_init_ex(3)> and
+L<EVP_PKEY_verify(3)>.
 
 These functions handle RSA signatures at a low-level.