| Index: remoting/protocol/ssl_hmac_channel_authenticator.cc
|
| diff --git a/remoting/protocol/ssl_hmac_channel_authenticator.cc b/remoting/protocol/ssl_hmac_channel_authenticator.cc
|
| index ec545752520e2a542f2cee58a1b6ae44579b2ec7..64579a6e9dc09d851c3edfd198525f86aa6d8051 100644
|
| --- a/remoting/protocol/ssl_hmac_channel_authenticator.cc
|
| +++ b/remoting/protocol/ssl_hmac_channel_authenticator.cc
|
| @@ -50,16 +50,13 @@ class FailingCertVerifier : public net::CertVerifier {
|
| FailingCertVerifier() {}
|
| ~FailingCertVerifier() override {}
|
|
|
| - int Verify(net::X509Certificate* cert,
|
| - const std::string& hostname,
|
| - const std::string& ocsp_response,
|
| - int flags,
|
| + int Verify(const RequestParams& params,
|
| net::CRLSet* crl_set,
|
| net::CertVerifyResult* verify_result,
|
| const net::CompletionCallback& callback,
|
| std::unique_ptr<Request>* out_req,
|
| const net::BoundNetLog& net_log) override {
|
| - verify_result->verified_cert = cert;
|
| + verify_result->verified_cert = params.certificate();
|
| verify_result->cert_status = net::CERT_STATUS_INVALID;
|
| return net::ERR_CERT_INVALID;
|
| }
|
|
|