Home
last modified time | relevance | path

Searched refs:next_proto_len (Results 1 – 10 of 10) sorted by relevance

/third_party/nghttp2/src/
Dasio_common.cc178 unsigned int next_proto_len = 0; in tls_h2_negotiated() local
181 SSL_get0_next_proto_negotiated(ssl, &next_proto, &next_proto_len); in tls_h2_negotiated()
185 SSL_get0_alpn_selected(ssl, &next_proto, &next_proto_len); in tls_h2_negotiated()
193 return util::check_h2_is_selected(StringRef{next_proto, next_proto_len}); in tls_h2_negotiated()
Dshrpx_live_check.cc406 unsigned int next_proto_len = 0; in tls_handshake() local
409 SSL_get0_next_proto_negotiated(conn_.tls.ssl, &next_proto, &next_proto_len); 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()
Dshrpx_connection.cc598 unsigned int next_proto_len; in check_http2_requirement() local
601 SSL_get0_next_proto_negotiated(tls.ssl, &next_proto, &next_proto_len); in check_http2_requirement()
605 SSL_get0_alpn_selected(tls.ssl, &next_proto, &next_proto_len); in check_http2_requirement()
609 !util::check_h2_is_selected(StringRef{next_proto, next_proto_len})) { in check_http2_requirement()
Dshrpx_client_handler.cc551 unsigned int next_proto_len = 0; in validate_next_proto() local
557 SSL_get0_next_proto_negotiated(conn_.tls.ssl, &next_proto, &next_proto_len); in validate_next_proto()
561 SSL_get0_alpn_selected(conn_.tls.ssl, &next_proto, &next_proto_len); in validate_next_proto()
568 proto = StringRef{next_proto, next_proto_len}; in validate_next_proto()
Dshrpx_http2_session.cc1660 unsigned int next_proto_len = 0; in connection_made() local
1663 SSL_get0_next_proto_negotiated(conn_.tls.ssl, &next_proto, &next_proto_len); in connection_made()
1667 SSL_get0_alpn_selected(conn_.tls.ssl, &next_proto, &next_proto_len); in connection_made()
1676 auto proto = StringRef{next_proto, next_proto_len}; in connection_made()
DHttpServer.cc884 unsigned int next_proto_len; in verify_npn_result() local
887 SSL_get0_next_proto_negotiated(ssl_, &next_proto, &next_proto_len); in verify_npn_result()
891 auto proto = StringRef{next_proto, next_proto_len}; in verify_npn_result()
901 SSL_get0_alpn_selected(ssl_, &next_proto, &next_proto_len); in verify_npn_result()
Dh2load.cc889 unsigned int next_proto_len; in connection_made() local
892 SSL_get0_next_proto_negotiated(ssl, &next_proto, &next_proto_len); in connection_made()
896 SSL_get0_alpn_selected(ssl, &next_proto, &next_proto_len); in connection_made()
901 auto proto = StringRef{next_proto, next_proto_len}; in connection_made()
Dnghttp.cc1105 unsigned int next_proto_len; in connection_made() local
1107 SSL_get0_next_proto_negotiated(ssl, &next_proto, &next_proto_len); in connection_made()
1111 auto proto = StringRef{next_proto, next_proto_len}; in connection_made()
1121 SSL_get0_alpn_selected(ssl, &next_proto, &next_proto_len); in connection_made()
/third_party/openssl/test/ossl_shim/
Dossl_shim.cc840 unsigned next_proto_len; in CheckHandshakeProperties() local
841 SSL_get0_next_proto_negotiated(ssl, &next_proto, &next_proto_len); in CheckHandshakeProperties()
842 if (next_proto_len != config->expected_next_proto.size() || in CheckHandshakeProperties()
844 next_proto_len) != 0) { in CheckHandshakeProperties()
/third_party/openssl/ssl/statem/
Dstatem_srvr.c4224 size_t next_proto_len; in tls_process_next_proto() local
4241 if (!PACKET_memdup(&next_proto, &s->ext.npn, &next_proto_len)) { in tls_process_next_proto()
4248 s->ext.npn_len = (unsigned char)next_proto_len; in tls_process_next_proto()