[#SSL_CTX_set_info_callback]
= SSL&lowbar;CTX&lowbar;set&lowbar;info&lowbar;callback
:mrdocs:

Set the information callback used by SSL objects created from a context&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SSL&lowbar;CTX&lowbar;set&lowbar;info&lowbar;callback(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    void(* cb)(xref:SSL.adoc[SSL] const*, int, int));
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose default info callback is set&period;
| *cb*
| Callback receiving the SSL, a where bitmask (SSL&lowbar;CB&lowbar;&ast;), and a detail value&semi; NULL disables it&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
