Home
last modified time | relevance | path

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

/openssl/ssl/statem/
H A Dextensions_clnt.c451 || !WPACKET_sub_memcpy_u16(pkt, s->ext.alpn, s->ext.alpn_len) in tls_construct_ctos_alpn()
895 if (!PACKET_buf_init(&prots, s->ext.alpn, s->ext.alpn_len)) { in tls_construct_ctos_early_data()
1654 if (!PACKET_buf_init(&confpkt, s->ext.alpn, s->ext.alpn_len)) { in tls_parse_stoc_alpn()
/openssl/ssl/quic/
H A Dquic_tls.c748 if (sc->ext.alpn == NULL || sc->ext.alpn_len == 0) in ossl_quic_tls_tick()
/openssl/ssl/
H A Dssl_lib.c856 s->ext.alpn = OPENSSL_malloc(ctx->ext.alpn_len); in ossl_ssl_connection_new_int()
858 s->ext.alpn_len = 0; in ossl_ssl_connection_new_int()
861 memcpy(s->ext.alpn, ctx->ext.alpn, ctx->ext.alpn_len); in ossl_ssl_connection_new_int()
862 s->ext.alpn_len = ctx->ext.alpn_len; in ossl_ssl_connection_new_int()
3696 ctx->ext.alpn_len = 0; in SSL_CTX_set_alpn_protos()
3708 ctx->ext.alpn_len = protos_len; in SSL_CTX_set_alpn_protos()
3730 sc->ext.alpn_len = 0; in SSL_set_alpn_protos()
3742 sc->ext.alpn_len = protos_len; in SSL_set_alpn_protos()
H A Dssl_local.h1048 size_t alpn_len; member
1628 size_t alpn_len; member
/openssl/test/
H A Dssl_old_test.c1730 size_t alpn_len; in main() local
1731 unsigned char *alpn = next_protos_parse(&alpn_len, alpn_client); in main()
1738 if (SSL_CTX_set_alpn_protos(c_ctx, alpn, alpn_len)) { in main()
H A Dquic_multistream_test.c1248 size_t alpn_len = strlen(alpn); in run_script_worker() local
1250 if (!TEST_size_t_le(alpn_len, UINT8_MAX) in run_script_worker()
1251 || !TEST_ptr(tmp_buf = (unsigned char *)OPENSSL_malloc(alpn_len + 1))) in run_script_worker()
1254 memcpy(tmp_buf + 1, alpn, alpn_len); in run_script_worker()
1255 tmp_buf[0] = (unsigned char)alpn_len; in run_script_worker()
1259 alpn_len + 1))) in run_script_worker()
/openssl/apps/
H A Ds_client.c1970 size_t alpn_len; in s_client_main() local
1971 unsigned char *alpn = next_protos_parse(&alpn_len, alpn_in); in s_client_main()
1978 if (SSL_CTX_set_alpn_protos(ctx, alpn, alpn_len) != 0) { in s_client_main()

Completed in 78 milliseconds