Add openssl/pem.h inclusion for d2i_PKCS8PrivateKey
authorSumitra Sharma <sumitraartsy@gmail.com>
Mon, 2 Oct 2023 15:23:52 +0000 (20:53 +0530)
committerPauli <pauli@openssl.org>
Tue, 3 Oct 2023 20:54:46 +0000 (07:54 +1100)
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)

doc/man3/d2i_PKCS8PrivateKey_bio.pod

index 5b5371b70f19cdacd2a4329021b6ec761d779c71..e84283f63e6c268f8adef1548126462ff2639a34 100644 (file)
@@ -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);