Attach a BIO as the simple trace channel for category (ownership transfers on success).

Synopsis

Declared in <openssl/trace.h>

int
OSSL_trace_set_channel(
    int category,
    BIO* channel);

Description

Mutually exclusive with OSSL_trace_set_callback() for the same category.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

category

OSSL_TRACE_CATEGORY_* value selecting the channel.

channel

Sink BIO for trace output, or NULL to disable tracing for category.

Created with MrDocs