Home
last modified time | relevance | path

Searched refs:session_id_length (Results 1 – 21 of 21) sorted by relevance

/freebsd-9-stable/crypto/openssl/ssl/
Dssl_sess.c215 *len = s->session_id_length; in SSL_SESSION_get_id()
280 ss->session_id_length = SSL2_SSL_SESSION_ID_LENGTH; in ssl_get_new_session()
283 ss->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in ssl_get_new_session()
286 ss->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in ssl_get_new_session()
289 ss->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in ssl_get_new_session()
292 ss->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in ssl_get_new_session()
301 ss->session_id_length = 0; in ssl_get_new_session()
313 tmp = ss->session_id_length; in ssl_get_new_session()
325 if (!tmp || (tmp > ss->session_id_length)) { in ssl_get_new_session()
333 if ((tmp < ss->session_id_length) && (s->version == SSL2_VERSION)) in ssl_get_new_session()
[all …]
Ds2_srvr.c600 s->s2->tmp.session_id_length = i; in get_client_hello()
617 (unsigned long)s->s2->tmp.session_id_length; in get_client_hello()
639 if ((s->s2->tmp.session_id_length != 0) && in get_client_hello()
640 (s->s2->tmp.session_id_length != SSL2_SSL_SESSION_ID_LENGTH)) { in get_client_hello()
646 if (s->s2->tmp.session_id_length == 0) { in get_client_hello()
653 s->s2->tmp.session_id_length, NULL); in get_client_hello()
722 p += s->s2->tmp.session_id_length; in get_client_hello()
927 if (s->session->session_id_length > sizeof s->session->session_id) { in server_finish()
932 (unsigned int)s->session->session_id_length); in server_finish()
936 s->init_num = s->session->session_id_length + 1; in server_finish()
Ds2_clnt.c423 s->session->session_id_length = 0; in get_server_hello()
431 if (s->session->session_id_length > 0) { in get_server_hello()
566 if ((s->session->session_id_length > 0) && in client_hello()
567 (s->session->session_id_length <= in client_hello()
569 i = s->session->session_id_length; in client_hello()
972 s->session->session_id_length = SSL2_SSL_SESSION_ID_LENGTH; in get_server_finished()
976 if ((s->session->session_id_length > in get_server_finished()
980 (unsigned int)s->session->session_id_length))) { in get_server_finished()
Dssl_asn1.c156 a.session_id.length = in->session_id_length; in i2d_SSL_SESSION()
364 ret->session_id_length = os.length; in d2i_SSL_SESSION()
475 } else if (ret->tlsext_ticklen && ret->session_id_length) in d2i_SSL_SESSION()
Dssl2.h210 unsigned int session_id_length; member
Ds3_clnt.c608 !sess->session_id_length || in ssl3_client_hello()
610 (!sess->session_id_length && !sess->tlsext_tick) || in ssl3_client_hello()
639 i = s->session->session_id_length; in ssl3_client_hello()
763 if (j != 0 && j == s->session->session_id_length in ssl3_get_server_hello()
782 if (s->session->session_id_length > 0) { in ssl3_get_server_hello()
788 s->session->session_id_length = j; in ssl3_get_server_hello()
1737 if (s->session->session_id_length > 0) { in ssl3_get_new_session_ticket()
1799 s->session->session_id, &s->session->session_id_length, in ssl3_get_new_session_ticket()
2735 if (!s->session->tlsext_tick || s->session->session_id_length) in ssl3_check_finished()
Dssl_txt.c122 for (i = 0; i < x->session_id_length; i++) { in SSL_SESSION_print()
Dd1_clnt.c616 !sess->session_id_length || in dtls1_client_hello()
618 (!sess->session_id_length && !sess->tlsext_tick) || in dtls1_client_hello()
653 i = s->session->session_id_length; in dtls1_client_hello()
Dssl_lib.c421 r.session_id_length = id_len; in SSL_has_matching_session_id()
432 r.session_id_length = SSL2_SSL_SESSION_ID_LENGTH; in SSL_has_matching_session_id()
1464 if (a->session_id_length != b->session_id_length) in SSL_SESSION_cmp()
1466 return (memcmp(a->session_id, b->session_id, a->session_id_length)); in SSL_SESSION_cmp()
2065 if (s->session->session_id_length == 0) in ssl_update_cache()
Dd1_srvr.c785 s->session->session_id_length = 0; in dtls1_send_server_hello()
787 sl = s->session->session_id_length; in dtls1_send_server_hello()
Ds23_clnt.c305 s->session->session_id_length = 0; in ssl23_client_hello()
Dt1_lib.c1109 sess->session_id_length = sesslen; in tls_decrypt_ticket()
Ds3_srvr.c1219 s->session->session_id_length = 0; in ssl3_send_server_hello()
1221 sl = s->session->session_id_length; in ssl3_send_server_hello()
Dssl.h433 unsigned int session_id_length; member
/freebsd-9-stable/contrib/wpa/patches/
Dopenssl-0.9.8e-tls-extensions.patch71 - if (j != 0 && j == s->session->session_id_length
83 + s->session->session_id_length = j;
89 + if ((pre_shared || j != 0) && j == s->session->session_id_length
Dopenssl-0.9.8-tls-extensions.patch147 - if (j != 0 && j == s->session->session_id_length
159 + s->session->session_id_length = j;
165 + if ((pre_shared || j != 0) && j == s->session->session_id_length
Dopenssl-0.9.8d-tls-extensions.patch147 - if (j != 0 && j == s->session->session_id_length
159 + s->session->session_id_length = j;
165 + if ((pre_shared || j != 0) && j == s->session->session_id_length
Dopenssl-0.9.8h-tls-extensions.patch33 if (j != 0 && j == s->session->session_id_length
44 - if (!s->session->tlsext_tick || s->session->session_id_length)
Dopenssl-0.9.9-session-ticket.patch38 if (j != 0 && j == s->session->session_id_length
49 - if (!s->session->tlsext_tick || s->session->session_id_length)
Dopenssl-0.9.8i-tls-extensions.patch35 if (j != 0 && j == s->session->session_id_length
46 - if (!s->session->tlsext_tick || s->session->session_id_length)
Dopenssl-0.9.8g-tls-extensions.patch33 if (j != 0 && j == s->session->session_id_length