summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumitra Sharma <sumitraartsy@gmail.com>2023-10-02 20:53:52 +0530
committerPauli <pauli@openssl.org>2023-10-04 07:55:03 +1100
commitdefd1a81fbbf9e80f72c0719ed67eb14bf9b9a6e (patch)
treee56ae1f6861c9933c4a5eccaf5484c2096dd44f0
parenta16df8b0b2ab48c4e03ef211176b03afec04083f (diff)
downloadopenssl-defd1a81fbbf9e80f72c0719ed67eb14bf9b9a6e.tar.gz
Add openssl/pem.h inclusion for d2i_PKCS8PrivateKey
Include the necessary header file openssl/pem.h in the documentation to ensure that all functions related to d2i_PKCS8PrivateKey are correctly defined. Closes openssl#22188 Signed-off-by: Sumitra Sharma <sumitraartsy@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22253) (cherry picked from commit cda2e7c914bffc904e3ee79f360953fd370e19e9)
-rw-r--r--doc/man3/d2i_PKCS8PrivateKey_bio.pod1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/man3/d2i_PKCS8PrivateKey_bio.pod b/doc/man3/d2i_PKCS8PrivateKey_bio.pod
index 5b5371b70f..e84283f63e 100644
--- a/doc/man3/d2i_PKCS8PrivateKey_bio.pod
+++ b/doc/man3/d2i_PKCS8PrivateKey_bio.pod
@@ -9,6 +9,7 @@ i2d_PKCS8PrivateKey_nid_bio, i2d_PKCS8PrivateKey_nid_fp - PKCS#8 format private
=head1 SYNOPSIS
#include <openssl/evp.h>
+ #include <openssl/pem.h>
EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u);
EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u);