[#SSL_SESSION_print_keylog]
= SSL&lowbar;SESSION&lowbar;print&lowbar;keylog
:mrdocs:

Print session keying material to a BIO in NSS keylog format&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;SESSION&lowbar;print&lowbar;keylog(
    xref:BIO.adoc[BIO]* bp,
    xref:SSL_SESSION.adoc[SSL&lowbar;SESSION] const* x);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bp*
| Output BIO&period;
| *x*
| Session whose secrets are logged&period;
|===


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