| Index: net/spdy/spdy_session.cc
|
| diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
|
| index 0c97fa5daffdcc46a98037e92cc156b54847b097..31d02e9e5f5ca7a3e1a2d4e9f2f29b7d252faad1 100644
|
| --- a/net/spdy/spdy_session.cc
|
| +++ b/net/spdy/spdy_session.cc
|
| @@ -658,12 +658,12 @@ bool SpdySession::CanPool(TransportSecurityState* transport_security_state,
|
| // DISABLE_PIN_REPORTS is set here because this check can fail in
|
| // normal operation without being indicative of a misconfiguration or
|
| // attack. Port is left at 0 as it is never used.
|
| - if (ssl_info.is_issued_by_known_root &&
|
| - !transport_security_state->CheckPublicKeyPins(
|
| + if (transport_security_state->CheckPublicKeyPins(
|
| HostPortPair(new_hostname, 0), ssl_info.is_issued_by_known_root,
|
| ssl_info.public_key_hashes, ssl_info.unverified_cert.get(),
|
| ssl_info.cert.get(), TransportSecurityState::DISABLE_PIN_REPORTS,
|
| - &pinning_failure_log)) {
|
| + &pinning_failure_log) ==
|
| + TransportSecurityState::PKPStatus::VIOLATED) {
|
| return false;
|
| }
|
|
|
|
|