OSSL_CRYPTO_ALLOC attribute introduction proposal.
authorDavid Carlier <devnexen@gmail.com>
Thu, 8 Sep 2022 21:16:31 +0000 (22:16 +0100)
committerPauli <pauli@openssl.org>
Mon, 12 Sep 2022 10:53:46 +0000 (20:53 +1000)
commite1035957eba1e6ebdefd0e18dcbad5cbfa7a969a
tree36ec858bb775f97d3c03f0ba07378cd410f06920
parent0b664228a8b217751a225e383a47936fab5c1d64
OSSL_CRYPTO_ALLOC attribute introduction proposal.

Giving hint to the compiler the returned pointer is not aliased
 (so realloc-like api is de facto excluded).

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19180)
include/openssl/crypto.h.in
include/openssl/macros.h