Home
last modified time | relevance | path

Searched refs:rec_version (Results 1 – 7 of 7) sorted by relevance

/openssl/ssl/record/methods/
H A Dtlsany_meth.c46 if (rec->rec_version == SSL2_VERSION) { in tls_validate_record_header()
58 if ((rec->rec_version >> 8) != SSL3_VERSION_MAJOR) { in tls_validate_record_header()
95 } else if (rec->rec_version != rl->version) { in tls_validate_record_header()
96 if ((rl->version & 0xFF00) == (rec->rec_version & 0xFF00)) { in tls_validate_record_header()
111 rl->version = (unsigned short)rec->rec_version; in tls_validate_record_header()
H A Dtls_common.c620 thisrr->rec_version = SSL2_VERSION; in tls_get_more_records()
643 thisrr->rec_version = version; in tls_get_more_records()
651 if (thisrr->rec_version == SSL2_VERSION) { in tls_get_more_records()
680 if (thisrr->rec_version == SSL2_VERSION) { in tls_get_more_records()
703 if (thisrr->rec_version == SSL2_VERSION) in tls_get_more_records()
995 if (rec->rec_version != rl->version) { in tls_default_validate_record_header()
1146 *rversion = rec->rec_version; in tls_read_record()
1726 rl->msg_callback(1, thiswr->rec_version, SSL3_RT_HEADER, recordstart, in tls_post_encryption_processing_default()
1732 rl->msg_callback(1, thiswr->rec_version, SSL3_RT_INNER_CONTENT_TYPE, in tls_post_encryption_processing_default()
H A Ddtls_meth.c434 rr->rec_version = (ssl_major << 8) | ssl_minor; in dtls_get_more_records()
445 rl->msg_callback(0, rr->rec_version, SSL3_RT_HEADER, rl->packet, DTLS1_RT_HEADER_LENGTH, in dtls_get_more_records()
453 if (rr->rec_version != rl->version) { in dtls_get_more_records()
H A Dtls13_meth.c173 || !WPACKET_put_bytes_u16(&wpkt, rec->rec_version) in tls13_cipher()
262 if (rec->rec_version != TLS1_2_VERSION) { in tls13_validate_record_header()
H A Drecmethod_local.h48 int rec_version; member
84 #define TLS_RL_RECORD_set_rec_version(r, v) ((r)->rec_version = (v))
H A Dktls_meth.c386 if (rec->rec_version != TLS1_2_VERSION) { in ktls_validate_record_header()
/openssl/test/
H A Dtls13encryptiontest.c324 rec.rec_version = TLS1_2_VERSION; in test_tls13_encryption()

Completed in 20 milliseconds