Lines Matching refs:alpn_selected
847 if ((s->ext.alpn == NULL && edsess->ext.alpn_selected != NULL)) { in tls_construct_ctos_early_data()
857 if (edsess->ext.alpn_selected != NULL) { in tls_construct_ctos_early_data()
867 if (PACKET_equal(&alpnpkt, edsess->ext.alpn_selected, in tls_construct_ctos_early_data()
1640 OPENSSL_free(s->s3->alpn_selected); in tls_parse_stoc_alpn()
1641 s->s3->alpn_selected = OPENSSL_malloc(len); in tls_parse_stoc_alpn()
1642 if (s->s3->alpn_selected == NULL) { in tls_parse_stoc_alpn()
1648 if (!PACKET_copy_bytes(pkt, s->s3->alpn_selected, len)) { in tls_parse_stoc_alpn()
1655 if (s->session->ext.alpn_selected == NULL in tls_parse_stoc_alpn()
1657 || memcmp(s->session->ext.alpn_selected, s->s3->alpn_selected, len) in tls_parse_stoc_alpn()
1667 if (!ossl_assert(s->session->ext.alpn_selected == NULL)) { in tls_parse_stoc_alpn()
1672 s->session->ext.alpn_selected = in tls_parse_stoc_alpn()
1673 OPENSSL_memdup(s->s3->alpn_selected, s->s3->alpn_selected_len); in tls_parse_stoc_alpn()
1674 if (s->session->ext.alpn_selected == NULL) { in tls_parse_stoc_alpn()