mirror of
https://github.com/openssl/openssl.git
synced 2025-01-12 13:36:28 +08:00
OSSL_trace_set_channel(): add important statement that it takes BIO ownership
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19959)
This commit is contained in:
parent
0fec2121c0
commit
bfd5680e6b
@ -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<category>
|
||||
by attaching the B<BIO> I<bio> 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
|
||||
|
Loading…
Reference in New Issue
Block a user