[#SSL_SESSION_get0_ticket]
= SSL&lowbar;SESSION&lowbar;get0&lowbar;ticket
:mrdocs:

Obtain a pointer to the session ticket bytes stored on a session&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SSL&lowbar;SESSION&lowbar;get0&lowbar;ticket(
    xref:SSL_SESSION.adoc[SSL&lowbar;SESSION] const* s,
    unsigned char const** tick,
    size&lowbar;t* len);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Session to query&period;
| *tick*
| Optional&semi; when non&hyphen;NULL, set to a pointer to the ticket bytes inside `s` (valid while `s` is)&period;
| *len*
| On return, set to the ticket length in bytes&period;
|===


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