]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update X509V3_get_d2i.pod returned pointer needs to be freed
authorjasper-smit-servicenow <jasper.smit@servicenow.com>
Thu, 18 Jul 2024 07:45:22 +0000 (09:45 +0200)
committerTodd Short <todd.short@me.com>
Sun, 21 Jul 2024 16:44:42 +0000 (12:44 -0400)
CLA: trivial

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/24927)

(cherry picked from commit a4fd94851261c55f9ad020bf22d4f29bda0b58be)
(cherry picked from commit 12c38af865a0a60c98f6b63de5be4b8ce2d1ace5)
(cherry picked from commit 607e186d070df2bc8c5abafbc949e8ef568614bd)

doc/man3/X509V3_get_d2i.pod

index 4a2e81b0dbdff9ec966ccdc7acdc5e7fb4abc7dc..dc00090b84475d69b87264b27a0eced7cc58086d 100644 (file)
@@ -108,6 +108,7 @@ The function X509V3_get_d2i() and its variants
 will return NULL if the extension is not
 found, occurs multiple times or cannot be decoded. It is possible to
 determine the precise reason by checking the value of I<*crit>.
+The returned pointer must be explicitly freed.
 
 The function X509V3_add1_i2d() and its variants allocate B<X509_EXTENSION>
 objects on STACK I<*x> depending on I<flags>. The B<X509_EXTENSION> objects