[#SSL_CTX_get_timeout]
= SSL&lowbar;CTX&lowbar;get&lowbar;timeout
:mrdocs:

Return the default session lifetime configured on `ctx&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
long
SSL&lowbar;CTX&lowbar;get&lowbar;timeout(xref:SSL_CTX.adoc[SSL&lowbar;CTX] const* ctx);
----

== Return Value

Session timeout in seconds&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL&lowbar;CTX to query&period;
|===


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