Lines Matching defs:version
192 if (s->version == SSL3_VERSION) {
549 * Note that before the ClientHello we don't know what version we are going
833 if (s->version != DTLS1_BAD_VER && !ssl3_init_finished_mac(s)) {
1280 /* Always use DTLS 1.0 version: see RFC 6347 */
1428 * 3-4 version
1623 /* Choose the version */
1640 * Do SSL/TLS version negotiation if applicable. For DTLS we just check
1645 } else if (s->method->version != DTLS_ANY_VERSION &&
1646 DTLS_VERSION_LT((int)clienthello->legacy_version, s->version)) {
1654 /* like ssl3_get_record, send alert using remote version number */
1655 s->version = s->client_version = clienthello->legacy_version;
1687 if (s->method->version == DTLS_ANY_VERSION) {
1690 s->version = s->client_version;
1724 * a higher version. We should fail if the current version
1884 && s->version >= TLS1_VERSION
2252 * ssl version is set - sslv3
2305 int version;
2309 version = usetls13 ? TLS1_2_VERSION : s->version;
2310 if (!WPACKET_put_bytes_u16(pkt, version)
2874 if (s->version == SSL3_VERSION || s->version == DTLS1_BAD_VER) {
2902 * RSA, check the padding and check that the client version is as expected
2919 (unsigned int *)&s->version);
3501 if (s->version == SSL3_VERSION) {