Lines Matching defs:ticket
1870 CBS new_session_ticket, ticket;
1874 !CBS_get_u16_length_prefixed(&new_session_ticket, &ticket) ||
1881 if (CBS_len(&ticket) == 0) {
1882 /* RFC 5077 allows a server to change its mind and send no ticket after
1892 /* The server is sending a new ticket for an existing session. Sessions are
1893 * immutable once established, so duplicate all but the ticket of the
1903 /* |tlsext_tick_lifetime_hint| is measured from when the ticket was issued. */
1906 if (!CBS_stow(&ticket, &session->tlsext_tick, &session->tlsext_ticklen)) {
1912 /* Generate a session ID for this session based on the session ticket. We use
1913 * the session ID mechanism for detecting ticket resumption. This also fits in
1915 if (!EVP_Digest(CBS_data(&ticket), CBS_len(&ticket),