Lines Matching full:ticklen
122 static int tls_decrypt_ticket(SSL *s, const unsigned char *tick, int ticklen,
395 int ticklen;
397 ticklen = s->session->tlsext_ticklen;
401 ticklen = s->tlsext_session_ticket->length;
402 s->session->tlsext_tick = OPENSSL_malloc(ticklen);
407 ticklen);
408 s->session->tlsext_ticklen = ticklen;
411 ticklen = 0;
412 if (ticklen == 0 && s->tlsext_session_ticket &&
418 if ((long)(limit - ret - 4 - ticklen) < 0) return NULL;
420 s2n(ticklen,ret);
421 if (ticklen)
423 memcpy(ret, s->session->tlsext_tick, ticklen);
424 ret += ticklen;