Lines Matching refs:ticklen
123 static int tls_decrypt_ticket(SSL *s, const unsigned char *tick, int ticklen,
505 int ticklen;
507 ticklen = s->session->tlsext_ticklen;
511 ticklen = s->tlsext_session_ticket->length;
512 s->session->tlsext_tick = OPENSSL_malloc(ticklen);
517 ticklen);
518 s->session->tlsext_ticklen = ticklen;
521 ticklen = 0;
522 if (ticklen == 0 && s->tlsext_session_ticket &&
528 if ((long)(limit - ret - 4 - ticklen) < 0) return NULL;
530 s2n(ticklen,ret);
531 if (ticklen)
533 memcpy(ret, s->session->tlsext_tick, ticklen);
534 ret += ticklen;