Branch: refs/heads/master Home: https://github.com/openssl/openssl Commit: 6a4a714045415be6720f4165c4d70a0ff229a26a https://github.com/openssl/openssl/commit/6a4a714045415be6720f4165c4d70a0ff229a26a Author: Daniel McCarney <dan...@binaryparadox.net> Date: 2024-04-29 (Mon, 29 Apr 2024)
Changed paths: M doc/man3/SSL_CIPHER_get_name.pod Log Message: ----------- doc: clarify SSL_CIPHER_description allocation Previously the documentation for `SSL_CIPHER_description` said: > If buf is provided, it must be at least 128 bytes, otherwise a buffer > will be allocated using OPENSSL_malloc(). In reality, `OPENSSL_malloc` is only invoked if the provided `buf` argument is `NULL`. If the `buf` arg is not `NULL`, but smaller than 128 bytes, the function returns `NULL` without attempting to allocate a new buffer for the description. This commit adjusts the documentation to better describe the implemented behaviour. CLA: trivial Reviewed-by: Matt Caswell <m...@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgr...@arm.com> Reviewed-by: Paul Dale <ppz...@gmail.com> Reviewed-by: Tomas Mraz <to...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23921) To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications