]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
PEM_read_CMS.pod: Correct the deprecation notice
authorTomas Mraz <tomas@openssl.org>
Fri, 20 Jun 2025 15:07:19 +0000 (17:07 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 10 Jul 2025 12:41:00 +0000 (14:41 +0200)
Fixes #27863

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27865)

doc/man3/PEM_read_CMS.pod

index dbccf26cd893ed69620b754d48eb2684b750433e..1e6d80e5b13f86c4830c6cb64cb9d4f207caafec 100644 (file)
@@ -84,9 +84,9 @@ see L<openssl_user_macros(7)>:
 
 =head1 DESCRIPTION
 
-All of the functions described on this page are deprecated.
-Applications should use OSSL_ENCODER_to_bio() and OSSL_DECODER_from_bio()
-instead.
+To replace the deprecated functions listed above, applications should use the
+B<EVP_PKEY> type and OSSL_DECODER_from_bio() and OSSL_ENCODER_to_bio() to
+read and write PEM data containing key parameters or private and public keys.
 
 In the description below, B<I<TYPE>> is used
 as a placeholder for any of the OpenSSL datatypes, such as B<X509>.