Searched refs:selected_len (Results 1 – 2 of 2) sorted by relevance
1579 unsigned char selected_len; in tls_parse_stoc_npn() local1600 &selected, &selected_len, in tls_parse_stoc_npn()1603 || selected_len == 0) { in tls_parse_stoc_npn()1613 s->ext.npn = OPENSSL_malloc(selected_len); in tls_parse_stoc_npn()1620 memcpy(s->ext.npn, selected, selected_len); in tls_parse_stoc_npn()1621 s->ext.npn_len = selected_len; in tls_parse_stoc_npn()
2199 unsigned char selected_len = 0; in tls_handle_alpn() local2204 &selected, &selected_len, in tls_handle_alpn()2211 s->s3.alpn_selected = OPENSSL_memdup(selected, selected_len); in tls_handle_alpn()2217 s->s3.alpn_selected_len = selected_len; in tls_handle_alpn()2225 || selected_len != s->session->ext.alpn_selected_len in tls_handle_alpn()2227 selected_len) != 0) { in tls_handle_alpn()2243 selected_len); in tls_handle_alpn()2249 s->session->ext.alpn_selected_len = selected_len; in tls_handle_alpn()
Completed in 19 milliseconds