diff options
author | Robbie Harwood <rharwood@redhat.com> | 2021-05-19 21:15:19 +0200 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-05-22 12:18:14 +0200 |
commit | 84faea44e6ad9ff7f470b5958e7303f6c521bf2e (patch) | |
tree | d1fa845a84f05a75026756998917adf4e825c9d9 | |
parent | apps/cms: Simplify handling of encerts; add warning if they are ignored (diff) | |
download | openssl-84faea44e6ad9ff7f470b5958e7303f6c521bf2e.tar.xz openssl-84faea44e6ad9ff7f470b5958e7303f6c521bf2e.zip |
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)
-rw-r--r-- | doc/man3/RSA_private_encrypt.pod | 6 |
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. |