]> git.ipfire.org Git - thirdparty/openssl.git/commit
doc/man3/OPENSSL_malloc: clarify OPENSSL_clear_free() w/ NULL
authordann frazier <dann.frazier@chainguard.dev>
Wed, 30 Jul 2025 14:51:30 +0000 (08:51 -0600)
committerNeil Horman <nhorman@openssl.org>
Thu, 12 Mar 2026 17:47:48 +0000 (13:47 -0400)
commit0ddaf48293ddf56a3e12639bdf3160edfff82a23
tree460ab61ef4c068a06383fa71580c4585737d1047
parent254a4b60c389a71bc102a6b1de1409fe43f6b0cf
doc/man3/OPENSSL_malloc: clarify OPENSSL_clear_free() w/ NULL

It wasn't explicitly clear that it was safe to call OPENSSL_clear_free()
with a NULL because, as worded, it sounded like it may call
OPENSSL_cleanse() on NULL before calling OPENSSL_free().

CLA: trivial

Signed-off-by: dann frazier <dann.frazier@chainguard.dev>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
MergeDate: Thu Mar 12 17:43:51 2026
(Merged from https://github.com/openssl/openssl/pull/28127)

(cherry picked from commit 4adb40393c073fd5ac34495efd083e981a6a6d69)
doc/man3/OPENSSL_malloc.pod