Lines Matching refs:alpn_selected
882 if ((s->ext.alpn == NULL && edsess->ext.alpn_selected != NULL)) { in tls_construct_ctos_early_data()
891 if (edsess->ext.alpn_selected != NULL) { in tls_construct_ctos_early_data()
900 if (PACKET_equal(&alpnpkt, edsess->ext.alpn_selected, in tls_construct_ctos_early_data()
1674 OPENSSL_free(s->s3.alpn_selected); in tls_parse_stoc_alpn()
1675 s->s3.alpn_selected = OPENSSL_malloc(len); in tls_parse_stoc_alpn()
1676 if (s->s3.alpn_selected == NULL) { in tls_parse_stoc_alpn()
1681 if (!PACKET_copy_bytes(pkt, s->s3.alpn_selected, len)) { in tls_parse_stoc_alpn()
1687 if (s->session->ext.alpn_selected == NULL in tls_parse_stoc_alpn()
1689 || memcmp(s->session->ext.alpn_selected, s->s3.alpn_selected, len) in tls_parse_stoc_alpn()
1699 if (!ossl_assert(s->session->ext.alpn_selected == NULL)) { in tls_parse_stoc_alpn()
1703 s->session->ext.alpn_selected = in tls_parse_stoc_alpn()
1704 OPENSSL_memdup(s->s3.alpn_selected, s->s3.alpn_selected_len); in tls_parse_stoc_alpn()
1705 if (s->session->ext.alpn_selected == NULL) { in tls_parse_stoc_alpn()