Searched refs:alpn_selected (Results 1 – 12 of 12) sorted by relevance
/third_party/openssl/ssl/ |
D | ssl_asn1.c | 43 ASN1_OCTET_STRING *alpn_selected; member 74 ASN1_EXP_OPT(SSL_SESSION_ASN1, alpn_selected, ASN1_OCTET_STRING, 16), 124 ASN1_OCTET_STRING alpn_selected; in i2d_SSL_SESSION() local 189 if (in->ext.alpn_selected == NULL) in i2d_SSL_SESSION() 190 as.alpn_selected = NULL; in i2d_SSL_SESSION() 192 ssl_session_oinit(&as.alpn_selected, &alpn_selected, in i2d_SSL_SESSION() 193 in->ext.alpn_selected, in->ext.alpn_selected_len); in i2d_SSL_SESSION() 359 OPENSSL_free(ret->ext.alpn_selected); in d2i_SSL_SESSION() 360 if (as->alpn_selected != NULL) { in d2i_SSL_SESSION() 361 ret->ext.alpn_selected = as->alpn_selected->data; in d2i_SSL_SESSION() [all …]
|
D | ssl_sess.c | 126 dest->ext.alpn_selected = NULL; in ssl_session_dup() 196 if (src->ext.alpn_selected != NULL) { in ssl_session_dup() 197 dest->ext.alpn_selected = OPENSSL_memdup(src->ext.alpn_selected, in ssl_session_dup() 199 if (dest->ext.alpn_selected == NULL) in ssl_session_dup() 774 OPENSSL_free(ss->ext.alpn_selected); in SSL_SESSION_free() 927 *alpn = s->ext.alpn_selected; in SSL_SESSION_get0_alpn_selected() 934 OPENSSL_free(s->ext.alpn_selected); in SSL_SESSION_set1_alpn_selected() 936 s->ext.alpn_selected = NULL; in SSL_SESSION_set1_alpn_selected() 940 s->ext.alpn_selected = OPENSSL_memdup(alpn, len); in SSL_SESSION_set1_alpn_selected() 941 if (s->ext.alpn_selected == NULL) { in SSL_SESSION_set1_alpn_selected()
|
D | ssl_local.h | 572 unsigned char *alpn_selected; member 1676 unsigned char *alpn_selected; member
|
D | s3_lib.c | 3334 OPENSSL_free(s->s3->alpn_selected); in ssl3_free() 3361 OPENSSL_free(s->s3->alpn_selected); in ssl3_clear()
|
D | ssl_lib.c | 2940 *data = ssl->s3->alpn_selected; in SSL_get0_alpn_selected()
|
/third_party/grpc/test/core/handshake/ |
D | server_ssl_common.cc | 257 const unsigned char* alpn_selected; in server_ssl_test() local 259 SSL_get0_alpn_selected(ssl, &alpn_selected, &alpn_selected_len); in server_ssl_test() 261 strncmp(reinterpret_cast<const char*>(alpn_selected), alpn_expected, in server_ssl_test()
|
/third_party/openssl/ssl/statem/ |
D | extensions_clnt.c | 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() [all …]
|
D | statem_srvr.c | 2178 OPENSSL_free(s->s3->alpn_selected); in tls_handle_alpn() 2179 s->s3->alpn_selected = OPENSSL_memdup(selected, selected_len); in tls_handle_alpn() 2180 if (s->s3->alpn_selected == NULL) { in tls_handle_alpn() 2193 if (s->session->ext.alpn_selected == NULL in tls_handle_alpn() 2195 || memcmp(selected, s->session->ext.alpn_selected, in tls_handle_alpn() 2206 if (!ossl_assert(s->session->ext.alpn_selected == NULL)) { in tls_handle_alpn() 2212 s->session->ext.alpn_selected = OPENSSL_memdup(selected, in tls_handle_alpn() 2214 if (s->session->ext.alpn_selected == NULL) { in tls_handle_alpn() 2237 if (s->session->ext.alpn_selected != NULL) { in tls_handle_alpn() 4125 if (s->s3->alpn_selected != NULL) { in tls_construct_new_session_ticket() [all …]
|
D | extensions.c | 1117 OPENSSL_free(s->s3->alpn_selected); in init_alpn() 1118 s->s3->alpn_selected = NULL; in init_alpn() 1130 if (!s->server && !sent && s->session->ext.alpn_selected != NULL) in final_alpn()
|
D | extensions_srvr.c | 1571 if (s->s3->alpn_selected == NULL) in tls_construct_stoc_alpn() 1578 || !WPACKET_sub_memcpy_u8(pkt, s->s3->alpn_selected, in tls_construct_stoc_alpn()
|
/third_party/grpc/src/core/tsi/ |
D | ssl_transport_security.cc | 1228 const unsigned char* alpn_selected = nullptr; in ssl_handshaker_result_extract_peer() local 1239 SSL_get0_alpn_selected(impl->ssl, &alpn_selected, &alpn_selected_len); in ssl_handshaker_result_extract_peer() 1241 if (alpn_selected == nullptr) { in ssl_handshaker_result_extract_peer() 1243 SSL_get0_next_proto_negotiated(impl->ssl, &alpn_selected, in ssl_handshaker_result_extract_peer() 1252 if (alpn_selected != nullptr) new_property_count++; in ssl_handshaker_result_extract_peer() 1267 if (alpn_selected != nullptr) { in ssl_handshaker_result_extract_peer() 1270 reinterpret_cast<const char*>(alpn_selected), alpn_selected_len, in ssl_handshaker_result_extract_peer()
|
/third_party/openssl/test/ |
D | ssltest_old.c | 202 static unsigned char *alpn_selected; variable 322 alpn_selected = OPENSSL_malloc(*outlen); in cb_server_alpn() 323 memcpy(alpn_selected, *out, *outlen); in cb_server_alpn() 324 *out = alpn_selected; in cb_server_alpn() 337 OPENSSL_free(alpn_selected); in verify_alpn() 338 alpn_selected = NULL; in verify_alpn()
|