From bfd5680e6be789fd554acf2ad34428816a644eec Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Thu, 22 Dec 2022 11:47:41 +0100 Subject: OSSL_trace_set_channel(): add important statement that it takes BIO ownership Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/19959) --- doc/man3/OSSL_trace_set_channel.pod | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/man3/OSSL_trace_set_channel.pod b/doc/man3/OSSL_trace_set_channel.pod index 2d9ce98d42..5b1981c1c3 100644 --- a/doc/man3/OSSL_trace_set_channel.pod +++ b/doc/man3/OSSL_trace_set_channel.pod @@ -47,6 +47,8 @@ can be used for producing free-text trace output. OSSL_trace_set_channel() is used to enable the given trace C by attaching the B I object as (simple) trace channel. +On success the ownership of the BIO is transferred to the channel, +so the caller must not free it directly. OSSL_trace_set_prefix() and OSSL_trace_set_suffix() can be used to add an extra line for each channel, to be output before and after group of -- cgit v1.2.1