Lines Matching refs:ticket_len
566 size_t tlen = ssl->session_negotiate->ticket_len;
800 ssl->session_negotiate->ticket_len != 0 )
3176 size_t ticket_len; local
3216 ticket_len = ( msg[4] << 8 ) | ( msg[5] );
3218 if( ticket_len + 6 + mbedtls_ssl_hs_hdr_len( ssl ) != ssl->in_hslen )
3224 MBEDTLS_SSL_DEBUG_MSG( 3, ( "ticket length: %d", ticket_len ) );
3234 if( ticket_len == 0 )
3238 ssl->session_negotiate->ticket_len );
3241 ssl->session_negotiate->ticket_len = 0;
3243 if( ( ticket = mbedtls_calloc( 1, ticket_len ) ) == NULL )
3249 memcpy( ticket, msg + 6, ticket_len );
3252 ssl->session_negotiate->ticket_len = ticket_len;