[#SSL_CTX_keylog_cb_func]
= SSL&lowbar;CTX&lowbar;keylog&lowbar;cb&lowbar;func
:mrdocs:

Callback that logs a single line of TLS key material for debugging&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef void(* SSL&lowbar;CTX&lowbar;keylog&lowbar;cb&lowbar;func)(xref:SSL.adoc[SSL] const*, char const*);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ssl*
| SSL connection whose keys are being logged&period;
| *line*
| NUL&hyphen;terminated key&hyphen;log line (without trailing newline)&period;
|===


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