Lines Matching refs:data
77 * Test that explicitly setting ticket data results in it appearing in the
83 * Test that explicitly setting ticket data results in it appearing in the
96 unsigned char *data;
143 len = BIO_get_mem_data(wbio, (char **)&data);
144 dataend = data + len;
147 data += SSL3_RT_HEADER_LENGTH;
149 data += SSL3_HM_HEADER_LENGTH;
151 data += CLIENT_VERSION_LEN + SSL3_RANDOM_SIZE;
152 if (data + SESSION_ID_LEN_LEN > dataend)
155 tmplen = *data;
156 data += SESSION_ID_LEN_LEN + tmplen;
157 if (data + CIPHERS_LEN_LEN > dataend)
160 tmplen = ((*data) << 8) | *(data + 1);
161 data += CIPHERS_LEN_LEN + tmplen;
162 if (data + COMPRESSION_LEN_LEN > dataend)
165 tmplen = *data;
166 data += COMPRESSION_LEN_LEN + tmplen;
167 if (data + EXTENSIONS_LEN_LEN > dataend)
170 tmplen = ((*data) << 8) | *(data + 1);
171 data += EXTENSIONS_LEN_LEN;
172 if (data + tmplen > dataend)
177 type = ((*data) << 8) | *(data + 1);
178 data += EXTENSION_TYPE_LEN;
179 size = ((*data) << 8) | *(data + 1);
180 data += EXTENSION_SIZE_LEN;
181 if (data + size > dataend)
188 && memcmp(data, dummytick, size) == 0) {
189 /* Ticket data is as we expected */
199 data += size;