openssl/include
Eugene Syromiatnikov 85bba74789 Remove OSSL_CRYPTO_ALLOC attribute from CRYPTO_*dup routines
The __attribute__((malloc)) is for functions that return new memory,
and "the memory [returned by the function] has undefined content", which
is a property that doesn't hold for the *dup functions (the same reason
it doesn't apply to realloc).

Fixes: e1035957eb "OSSL_CRYPTO_ALLOC attribute introduction proposal."
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28220)
2025-08-12 14:44:38 -04:00
..
crypto Fixes for build failures on OS X 10.4 Tiger 2025-08-08 13:56:02 +02:00
internal Fix failure checking on rcu_read_lock 2025-08-09 09:22:13 -04:00
openssl Remove OSSL_CRYPTO_ALLOC attribute from CRYPTO_*dup routines 2025-08-12 14:44:38 -04:00