/third_party/nghttp2/src/ |
D | shrpx_live_check.cc | 405 const unsigned char *next_proto = nullptr; in tls_handshake() local 409 SSL_get0_next_proto_negotiated(conn_.tls.ssl, &next_proto, &next_proto_len); in tls_handshake() 412 if (next_proto == nullptr) { in tls_handshake() 413 SSL_get0_alpn_selected(conn_.tls.ssl, &next_proto, &next_proto_len); in tls_handshake() 417 auto proto = StringRef{next_proto, next_proto_len}; in tls_handshake()
|
D | shrpx_connection.cc | 833 const unsigned char *next_proto = nullptr; in check_http2_requirement() local 837 SSL_get0_next_proto_negotiated(tls.ssl, &next_proto, &next_proto_len); in check_http2_requirement() 840 if (next_proto == nullptr) { in check_http2_requirement() 841 SSL_get0_alpn_selected(tls.ssl, &next_proto, &next_proto_len); in check_http2_requirement() 844 if (next_proto == nullptr || in check_http2_requirement() 845 !util::check_h2_is_selected(StringRef{next_proto, next_proto_len})) { in check_http2_requirement()
|
D | HttpServer.cc | 896 const unsigned char *next_proto = nullptr; in verify_npn_result() local 900 SSL_get0_next_proto_negotiated(ssl_, &next_proto, &next_proto_len); in verify_npn_result() 903 if (next_proto) { in verify_npn_result() 904 auto proto = StringRef{next_proto, next_proto_len}; in verify_npn_result() 914 SSL_get0_alpn_selected(ssl_, &next_proto, &next_proto_len); in verify_npn_result() 1999 auto next_proto = static_cast<std::vector<unsigned char> *>(arg); in next_proto_cb() local 2000 *data = next_proto->data(); in next_proto_cb() 2001 *len = next_proto->size(); in next_proto_cb() 2118 std::vector<unsigned char> next_proto; in run() local 2240 next_proto = util::get_default_alpn(); in run() [all …]
|
D | shrpx_client_handler.cc | 615 const unsigned char *next_proto = nullptr; in validate_next_proto() local 622 SSL_get0_next_proto_negotiated(conn_.tls.ssl, &next_proto, &next_proto_len); in validate_next_proto() 625 if (next_proto == nullptr) { in validate_next_proto() 626 SSL_get0_alpn_selected(conn_.tls.ssl, &next_proto, &next_proto_len); in validate_next_proto() 632 if (next_proto) { in validate_next_proto() 633 proto = StringRef{next_proto, next_proto_len}; in validate_next_proto()
|
D | shrpx_http2_session.cc | 1672 const unsigned char *next_proto = nullptr; in connection_made() local 1676 SSL_get0_next_proto_negotiated(conn_.tls.ssl, &next_proto, &next_proto_len); in connection_made() 1679 if (!next_proto) { in connection_made() 1680 SSL_get0_alpn_selected(conn_.tls.ssl, &next_proto, &next_proto_len); in connection_made() 1684 if (!next_proto) { in connection_made() 1689 auto proto = StringRef{next_proto, next_proto_len}; in connection_made()
|
D | nghttp.cc | 1126 const unsigned char *next_proto = nullptr; in connection_made() local 1129 SSL_get0_next_proto_negotiated(ssl, &next_proto, &next_proto_len); in connection_made() 1132 if (next_proto) { in connection_made() 1133 auto proto = StringRef{next_proto, next_proto_len}; in connection_made() 1138 next_proto = nullptr; in connection_made() 1143 SSL_get0_alpn_selected(ssl, &next_proto, &next_proto_len); in connection_made() 1148 if (!next_proto) { in connection_made()
|
D | h2load.cc | 1090 const unsigned char *next_proto = nullptr; in connection_made() local 1094 SSL_get0_next_proto_negotiated(ssl, &next_proto, &next_proto_len); in connection_made() 1097 if (next_proto == nullptr) { in connection_made() 1098 SSL_get0_alpn_selected(ssl, &next_proto, &next_proto_len); in connection_made() 1102 if (next_proto) { in connection_made() 1103 auto proto = StringRef{next_proto, next_proto_len}; in connection_made()
|
/third_party/openssl/apps/ |
D | s_client.c | 246 static tlsextnextprotoctx next_proto; variable 1597 next_proto.status = -1; in s_client_main() 1599 next_proto.data = in s_client_main() 1600 next_protos_parse(&next_proto.len, next_proto_neg_in); in s_client_main() 1601 if (next_proto.data == NULL) { in s_client_main() 1606 next_proto.data = NULL; in s_client_main() 1842 if (next_proto.data != NULL) in s_client_main() 1843 SSL_CTX_set_next_proto_select_cb(ctx, next_proto_cb, &next_proto); in s_client_main() 3092 OPENSSL_free(next_proto.data); in s_client_main() 3279 if (next_proto.status != -1) { in print_stuff() [all …]
|
D | s_server.c | 635 tlsextnextprotoctx *next_proto = arg; in next_proto_cb() local 637 *data = next_proto->data; in next_proto_cb() 638 *len = next_proto->len; in next_proto_cb() 1019 tlsextnextprotoctx next_proto = { NULL, 0 }; in s_server_main() local 1756 next_proto.data = next_protos_parse(&next_proto.len, next_proto_neg_in); in s_server_main() 1757 if (next_proto.data == NULL) in s_server_main() 2015 if (next_proto.data) in s_server_main() 2017 &next_proto); in s_server_main() 2256 OPENSSL_free(next_proto.data); in s_server_main()
|
/third_party/openssl/ssl/statem/ |
D | statem_srvr.c | 4068 PACKET next_proto, padding; in tls_process_next_proto() local 4078 if (!PACKET_get_length_prefixed_1(pkt, &next_proto) in tls_process_next_proto() 4085 if (!PACKET_memdup(&next_proto, &s->ext.npn, &next_proto_len)) { in tls_process_next_proto()
|