summaryrefslogtreecommitdiff
path: root/doc/man3/RSA_private_encrypt.pod
diff options
context:
space:
mode:
authorRobbie Harwood <rharwood@redhat.com>2021-05-19 15:15:19 -0400
committerDmitry Belyavskiy <beldmit@gmail.com>2021-05-22 12:18:14 +0200
commit84faea44e6ad9ff7f470b5958e7303f6c521bf2e (patch)
treed1fa845a84f05a75026756998917adf4e825c9d9 /doc/man3/RSA_private_encrypt.pod
parent56c98a7d94d25df5999bd12c600788ec947e588c (diff)
downloadopenssl-new-84faea44e6ad9ff7f470b5958e7303f6c521bf2e.tar.gz
Fix upgrading docs for RSA_private_encrypt/RSA_public_decrypt
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)
Diffstat (limited to 'doc/man3/RSA_private_encrypt.pod')
-rw-r--r--doc/man3/RSA_private_encrypt.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man3/RSA_private_encrypt.pod b/doc/man3/RSA_private_encrypt.pod
index a74a39834c..4b97d874c3 100644
--- a/doc/man3/RSA_private_encrypt.pod
+++ b/doc/man3/RSA_private_encrypt.pod
@@ -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.