Update the d2i docs to reflect reality
authorMatt Caswell <matt@openssl.org>
Wed, 12 Jun 2019 11:12:07 +0000 (12:12 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 13 Jun 2019 09:24:36 +0000 (10:24 +0100)
commited29a5f72e0d43526e9e5e7e9ff7de478ee99a50
tree96abfaa8c75288861be0b3ba325a3d3bf59c090f
parent58b582a722ced5e7713a6be49cec979e47a2b425
Update the d2i docs to reflect reality

The d2i docs state that if an error occurs then |*a| is not freed. This
is not correct. On error it is freed and set to NULL. We update the docs
to say this, and also discuss the fact that this behaviour was inconsistent
prior to OpenSSL 1.1.0.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9146)

(cherry picked from commit b1d14c412a0ff06d191ef5640bd90bbcd590035c)
doc/man3/d2i_X509.pod