Home
last modified time | relevance | path

Searched refs:max_fragment_len_mode (Results 1 – 12 of 12) sorted by relevance

/openssl/test/
H A Dssl_test_ctx_test.c44 || !TEST_int_eq(conf1->max_fragment_len_mode, in clientconf_eq()
45 conf2->max_fragment_len_mode)) in clientconf_eq()
186 fixture->expected_ctx->extra.client.max_fragment_len_mode = 0; in test_good_configuration()
/openssl/test/helpers/
H A Dssl_test_ctx.h104 int max_fragment_len_mode; member
H A Dhandshake.c530 switch (extra->client.max_fragment_len_mode) { in configure_handshake_ctx()
537 client_ctx, extra->client.max_fragment_len_mode); in configure_handshake_ctx()
H A Dssl_test_ctx.c506 client_conf->max_fragment_len_mode = ret_value; in parse_max_fragment_len_mode()
/openssl/ssl/
H A Dssl_asn1.c212 as.tlsext_max_fragment_len_mode = in->ext.max_fragment_len_mode; in i2d_SSL_SESSION()
409 ret->ext.max_fragment_len_mode = as->tlsext_max_fragment_len_mode; in d2i_SSL_SESSION_ex()
H A Dssl_local.h303 IS_MAX_FRAGMENT_LENGTH_EXT_VALID(session->ext.max_fragment_len_mode)
305 (512U << (session->ext.max_fragment_len_mode - 1))
551 uint8_t max_fragment_len_mode; member
1010 uint8_t max_fragment_len_mode; member
1665 uint8_t max_fragment_len_mode; member
H A Dt1_lib.c4046 ctx->ext.max_fragment_len_mode = mode; in SSL_CTX_set_tlsext_max_fragment_length()
4064 sc->ext.max_fragment_len_mode = mode; in SSL_set_tlsext_max_fragment_length()
4070 if (session->ext.max_fragment_len_mode == TLSEXT_max_fragment_length_UNSPECIFIED) in SSL_SESSION_get_max_fragment_length()
4072 return session->ext.max_fragment_len_mode; in SSL_SESSION_get_max_fragment_length()
H A Dssl_sess.c112 ss->ext.max_fragment_len_mode = TLSEXT_max_fragment_length_UNSPECIFIED; in SSL_SESSION_new()
H A Dssl_lib.c810 s->ext.max_fragment_len_mode = ctx->ext.max_fragment_len_mode; in ossl_ssl_connection_new_int()
/openssl/ssl/statem/
H A Dextensions_clnt.c92 if (s->ext.max_fragment_len_mode == TLSEXT_max_fragment_length_DISABLED) in tls_construct_ctos_maxfragmentlen()
103 || !WPACKET_put_bytes_u8(pkt, s->ext.max_fragment_len_mode) in tls_construct_ctos_maxfragmentlen()
1337 if (value != s->ext.max_fragment_len_mode) { in tls_parse_stoc_maxfragmentlen()
1347 s->session->ext.max_fragment_len_mode = value; in tls_parse_stoc_maxfragmentlen()
H A Dextensions_srvr.c208 if (s->session->ext.max_fragment_len_mode == TLSEXT_max_fragment_length_UNSPECIFIED) in tls_parse_ctos_maxfragmentlen()
213 s->session->ext.max_fragment_len_mode = value; in tls_parse_ctos_maxfragmentlen()
1347 || !WPACKET_put_bytes_u8(pkt, s->session->ext.max_fragment_len_mode) in tls_construct_stoc_maxfragmentlen()
H A Dextensions.c1763 if (s->session->ext.max_fragment_len_mode == TLSEXT_max_fragment_length_UNSPECIFIED) in final_maxfragmentlen()
1764 s->session->ext.max_fragment_len_mode = TLSEXT_max_fragment_length_DISABLED; in final_maxfragmentlen()

Completed in 98 milliseconds