The branch OpenSSL_1_1_1-stable has been updated via f775b5c4857d1fef67f487c2ec6017b1f1c6eb19 (commit) from cadb6f0e32e516c2b530c02f03905fa98920a2d3 (commit)
- Log ----------------------------------------------------------------- commit f775b5c4857d1fef67f487c2ec6017b1f1c6eb19 Author: Tomas Mraz <to...@openssl.org> Date: Wed Jun 30 11:17:09 2021 +0200 doc: Mention the update of der data pointers in d2i/i2d Fixes #15958 Reviewed-by: Richard Levitte <levi...@openssl.org> Reviewed-by: Paul Dale <pa...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15973) ----------------------------------------------------------------------- Summary of changes: doc/man3/d2i_PrivateKey.pod | 4 ++++ 1 file changed, 4 insertions(+) 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.