tls_session_ticket_ext_cb_fn

Callback invoked with the TLS session-ticket extension payload.

Synopsis

Declared in <openssl/ssl.h>

typedef int(* tls_session_ticket_ext_cb_fn)(SSL*, unsigned char const*, int, void*);

Return Value

1 on success, or 0 to fail the handshake / reject the extension.

Parameters

NameDescription
sSSL connection that received the extension.
dataExtension data bytes.
lenLength of data in bytes.
argApplication pointer supplied when the callback was registered.