Home
last modified time | relevance | path

Searched refs:selected_len (Results 1 – 2 of 2) sorted by relevance

/third_party/openssl/ssl/statem/
Dextensions_clnt.c1565 unsigned char selected_len; in tls_parse_stoc_npn() local
1585 if (s->ctx->ext.npn_select_cb(s, &selected, &selected_len, in tls_parse_stoc_npn()
1600 s->ext.npn = OPENSSL_malloc(selected_len); in tls_parse_stoc_npn()
1608 memcpy(s->ext.npn, selected, selected_len); in tls_parse_stoc_npn()
1609 s->ext.npn_len = selected_len; in tls_parse_stoc_npn()
Dstatem_srvr.c2169 unsigned char selected_len = 0; in tls_handle_alpn() local
2172 int r = s->ctx->ext.alpn_select_cb(s, &selected, &selected_len, in tls_handle_alpn()
2179 s->s3->alpn_selected = OPENSSL_memdup(selected, selected_len); in tls_handle_alpn()
2186 s->s3->alpn_selected_len = selected_len; in tls_handle_alpn()
2194 || selected_len != s->session->ext.alpn_selected_len in tls_handle_alpn()
2196 selected_len) != 0) { in tls_handle_alpn()
2213 selected_len); in tls_handle_alpn()
2220 s->session->ext.alpn_selected_len = selected_len; in tls_handle_alpn()