[#SSL_SESSION_has_ticket]
= SSL&lowbar;SESSION&lowbar;has&lowbar;ticket
:mrdocs:

Report whether a session ticket is present on a session&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;SESSION&lowbar;has&lowbar;ticket(xref:SSL_SESSION.adoc[SSL&lowbar;SESSION] const* s);
----

== Return Value

1 if a ticket is associated with `s,` or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Session to query&period;
|===


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