[#SSL_SESSION_set1_ticket_appdata] = SSL_SESSION_set1_ticket_appdata :mrdocs: Attach application data that will be stored inside a TLS session ticket. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_SESSION_set1_ticket_appdata( xref:SSL_SESSION.adoc[SSL_SESSION]* ss, void const* data, size_t len); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ss* | Session that will be serialized into a ticket (typically from the generate‐ticket callback). | *data* | Application bytes to copy into the ticket, or NULL to clear. | *len* | Number of bytes at `data;` ignored when `data` is NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#