Lines Matching refs:alpn_selected
2210 OPENSSL_free(s->s3.alpn_selected); in tls_handle_alpn()
2211 s->s3.alpn_selected = OPENSSL_memdup(selected, selected_len); in tls_handle_alpn()
2212 if (s->s3.alpn_selected == NULL) { in tls_handle_alpn()
2224 if (s->session->ext.alpn_selected == NULL in tls_handle_alpn()
2226 || memcmp(selected, s->session->ext.alpn_selected, in tls_handle_alpn()
2237 if (!ossl_assert(s->session->ext.alpn_selected == NULL)) { in tls_handle_alpn()
2242 s->session->ext.alpn_selected = OPENSSL_memdup(selected, in tls_handle_alpn()
2244 if (s->session->ext.alpn_selected == NULL) { in tls_handle_alpn()
2266 if (s->session->ext.alpn_selected != NULL) { in tls_handle_alpn()
4238 if (s->s3.alpn_selected != NULL) { in tls_construct_new_session_ticket()
4239 OPENSSL_free(s->session->ext.alpn_selected); in tls_construct_new_session_ticket()
4240 s->session->ext.alpn_selected = in tls_construct_new_session_ticket()
4241 OPENSSL_memdup(s->s3.alpn_selected, s->s3.alpn_selected_len); in tls_construct_new_session_ticket()
4242 if (s->session->ext.alpn_selected == NULL) { in tls_construct_new_session_ticket()