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.c1434 unsigned int sess_id_len = 0; in do_handshake_internal() local
1485 SSL_SESSION_get_id(serv_sess_in, &sess_id_len); in do_handshake_internal()
1487 if ((sess_id_len > 0 in do_handshake_internal()
1492 sess_id_len = 0; in do_handshake_internal()
1652 sess_id = SSL_SESSION_get_id(sess, &sess_id_len); in do_handshake_internal()
1661 if (sess_id == NULL || sess_id_len == 0) in do_handshake_internal()
/openssl/ssl/
H A Dssl_sess.c495 size_t sess_id_len) in lookup_sess_in_cache() argument
504 if (!ossl_assert(sess_id_len <= SSL_MAX_SSL_SESSION_ID_LENGTH)) in lookup_sess_in_cache()
507 memcpy(data.session_id, sess_id, sess_id_len); in lookup_sess_in_cache()
508 data.session_id_length = sess_id_len; in lookup_sess_in_cache()
526 sess_id, sess_id_len, &copy); in lookup_sess_in_cache()
H A Dssl_local.h2502 size_t sess_id_len);
/openssl/ssl/statem/
H A Dstatem_clnt.c1167 size_t sess_id_len; in tls_construct_client_hello() local
1263 sess_id_len = sizeof(s->tmp_session_id); in tls_construct_client_hello()
1264 s->tmp_session_id_len = sess_id_len; in tls_construct_client_hello()
1268 sess_id_len, 0) <= 0) { in tls_construct_client_hello()
1273 sess_id_len = 0; in tls_construct_client_hello()
1277 sess_id_len = s->session->session_id_length; in tls_construct_client_hello()
1279 s->tmp_session_id_len = sess_id_len; in tls_construct_client_hello()
1280 memcpy(s->tmp_session_id, s->session->session_id, sess_id_len); in tls_construct_client_hello()
1284 || (sess_id_len != 0 && !WPACKET_memcpy(pkt, session_id, in tls_construct_client_hello()
1285 sess_id_len)) in tls_construct_client_hello()

Completed in 33 milliseconds