| Index: net/spdy/spdy_session.cc
|
| diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
|
| index d6daf6bcb8659ead55da523e1f07ca4590296f24..2cfb0643d8923b48e1c635beca08cb4a0bea48e1 100644
|
| --- a/net/spdy/spdy_session.cc
|
| +++ b/net/spdy/spdy_session.cc
|
| @@ -598,10 +598,14 @@ bool SpdySession::CanPool(TransportSecurityState* transport_security_state,
|
| return false;
|
|
|
| std::string pinning_failure_log;
|
| + // TODO(estark): replace 0 below with the port of the connection
|
| + // (though it won't actually be used since reports aren't getting
|
| + // sent).
|
| if (!transport_security_state->CheckPublicKeyPins(
|
| - new_hostname,
|
| - ssl_info.is_issued_by_known_root,
|
| - ssl_info.public_key_hashes,
|
| + new_hostname, ssl_info.is_issued_by_known_root,
|
| + ssl_info.public_key_hashes, 0, ssl_info.unverified_cert,
|
| + ssl_info.cert,
|
| + TransportSecurityState::DO_NOT_SEND_PUBLIC_KEY_PIN_REPORT,
|
| &pinning_failure_log)) {
|
| return false;
|
| }
|
|
|