Document that OPENSSL_free() is required in some circumstances
authortb <tb@openbsd.org>
Sun, 6 Nov 2022 18:31:15 +0000 (18:31 +0000)
committertb <tb@openbsd.org>
Sun, 6 Nov 2022 18:31:15 +0000 (18:31 +0000)
commita25572ca91e91b3dece5c75c7582bf3c0ddb9f9a
tree37b4cafe7d6731d4ee83bb86fd7d80077ae8d4b9
parenteb0d8c28228ba27fd7ecdd18a45a3ae5f98d2ed8
Document that OPENSSL_free() is required in some circumstances

BoringSSL uses the common trick of storing malloc metadata in a prefix
and then returning a pointer with an offset. Therefore callers must not
call free() but OPENSSL_free().

Reported by dropk1ck via tobhe

ok beck jsing
lib/libcrypto/man/OPENSSL_malloc.3