summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-06-30 11:17:09 +0200
committerTomas Mraz <tomas@openssl.org>2021-07-01 16:08:42 +0200
commitf775b5c4857d1fef67f487c2ec6017b1f1c6eb19 (patch)
treef034d965566b233faf9090b60fe7245a88ae6972 /doc
parentcadb6f0e32e516c2b530c02f03905fa98920a2d3 (diff)
doc: Mention the update of der data pointers in d2i/i2d
Fixes #15958 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15973)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/d2i_PrivateKey.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/man3/d2i_PrivateKey.pod b/doc/man3/d2i_PrivateKey.pod
index 4e3f20f8b3..31732e89c8 100644
--- a/doc/man3/d2i_PrivateKey.pod
+++ b/doc/man3/d2i_PrivateKey.pod
@@ -42,6 +42,10 @@ These functions are similar to the d2i_X509() functions; see L<d2i_X509(3)>.
=head1 NOTES
+All the functions that operate on data in memory update the data pointer I<*pp>
+after a successful operation, just like the other d2i and i2d functions;
+see L<d2i_X509(3)>.
+
All these functions use DER format and unencrypted keys. Applications wishing
to encrypt or decrypt private keys should use other functions such as
d2i_PKCS8PrivateKey() instead.