Resolve the following 4 technical debt issues: (readability-avoid-const-params-in-decls) parameter 'stress_delay' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions (readability-avoid-const-params-in-decls) //depot/google3/gfe/ext_proc_test_servers/stress_sync_impl.h parameter 4 is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions (readability-avoid-const-params-in-decls) //depot/google3/gfe/membrane/envoy/stubby_multiplexing_filter/stubby_multiplexing_filter.h parameter 'port' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions (readability-avoid-const-params-in-decls) //depot/google3/net/quic/proof_verifier_google3.h CL generated via Upkeep (go/upkeep). #upkeep #autofix #codehealth #cleanup PiperOrigin-RevId: 633650041
diff --git a/quiche/quic/core/crypto/proof_verifier.h b/quiche/quic/core/crypto/proof_verifier.h index b771784..fe4a808 100644 --- a/quiche/quic/core/crypto/proof_verifier.h +++ b/quiche/quic/core/crypto/proof_verifier.h
@@ -74,7 +74,7 @@ // The signature uses SHA-256 as the hash function and PSS padding in the // case of RSA. virtual QuicAsyncStatus VerifyProof( - const std::string& hostname, const uint16_t port, + const std::string& hostname, uint16_t port, const std::string& server_config, QuicTransportVersion transport_version, absl::string_view chlo_hash, const std::vector<std::string>& certs, const std::string& cert_sct, const std::string& signature, @@ -100,7 +100,7 @@ // will call back, on the original thread, via |callback| when complete. // In this case, the ProofVerifier will take ownership of |callback|. virtual QuicAsyncStatus VerifyCertChain( - const std::string& hostname, const uint16_t port, + const std::string& hostname, uint16_t port, const std::vector<std::string>& certs, const std::string& ocsp_response, const std::string& cert_sct, const ProofVerifyContext* context, std::string* error_details, std::unique_ptr<ProofVerifyDetails>* details,