[#SSL_CTX_set_keylog_callback] = SSL_CTX_set_keylog_callback :mrdocs: Configure a callback that logs TLS key material for debugging (e.g. Wireshark). == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SSL_CTX_set_keylog_callback( xref:SSL_CTX.adoc[SSL_CTX]* ctx, xref:SSL_CTX_keylog_cb_func.adoc[SSL_CTX_keylog_cb_func] cb); ---- == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose connections invoke `cb` when keys are generated or received. | *cb* | Callback that should write `line` followed by a newline, or NULL to disable logging. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#