Home
last modified time | relevance | path

Searched refs:sess_id_len (Results 1 – 4 of 4) sorted by relevance

/openssl/test/helpers/
H A Dhandshake.c1420 unsigned int sess_id_len = 0; in do_handshake_internal() local
1471 SSL_SESSION_get_id(serv_sess_in, &sess_id_len); in do_handshake_internal()
1473 if ((sess_id_len > 0 in do_handshake_internal()
1478 sess_id_len = 0; in do_handshake_internal()
1638 sess_id = SSL_SESSION_get_id(sess, &sess_id_len); in do_handshake_internal()
1647 if (sess_id == NULL || sess_id_len == 0) in do_handshake_internal()
/openssl/ssl/
H A Dssl_sess.c467 size_t sess_id_len) in lookup_sess_in_cache() argument
476 if (!ossl_assert(sess_id_len <= SSL_MAX_SSL_SESSION_ID_LENGTH)) in lookup_sess_in_cache()
479 memcpy(data.session_id, sess_id, sess_id_len); in lookup_sess_in_cache()
480 data.session_id_length = sess_id_len; in lookup_sess_in_cache()
498 sess_id, sess_id_len, &copy); in lookup_sess_in_cache()
H A Dssl_local.h2465 size_t sess_id_len);
/openssl/ssl/statem/
H A Dstatem_clnt.c1104 size_t sess_id_len; in tls_construct_client_hello() local
1200 sess_id_len = sizeof(s->tmp_session_id); in tls_construct_client_hello()
1201 s->tmp_session_id_len = sess_id_len; in tls_construct_client_hello()
1205 sess_id_len, 0) <= 0) { in tls_construct_client_hello()
1210 sess_id_len = 0; in tls_construct_client_hello()
1214 sess_id_len = s->session->session_id_length; in tls_construct_client_hello()
1216 s->tmp_session_id_len = sess_id_len; in tls_construct_client_hello()
1217 memcpy(s->tmp_session_id, s->session->session_id, sess_id_len); in tls_construct_client_hello()
1221 || (sess_id_len != 0 && !WPACKET_memcpy(pkt, session_id, in tls_construct_client_hello()
1222 sess_id_len)) in tls_construct_client_hello()

Completed in 39 milliseconds