SSL_CTX_set_info_callback

Set the information callback used by SSL objects created from a context.

Synopsis

Declared in <openssl/ssl.h>

void
SSL_CTX_set_info_callback(
    SSL_CTX* ctx,
    void(* cb)(SSL const*, int, int));

Parameters

NameDescription
ctxSSL context whose default info callback is set.
cbCallback receiving the SSL, a where bitmask (SSL_CB_*), and a detail value; NULL disables it.