OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/http/transport_security_state.h" | 5 #include "net/http/transport_security_state.h" |
6 | 6 |
7 #if defined(USE_OPENSSL) | 7 #if defined(USE_OPENSSL) |
8 #include <openssl/ecdsa.h> | 8 #include <openssl/ecdsa.h> |
9 #include <openssl/ssl.h> | 9 #include <openssl/ssl.h> |
10 #else // !defined(USE_OPENSSL) | 10 #else // !defined(USE_OPENSSL) |
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 return true; | 960 return true; |
961 } | 961 } |
962 | 962 |
963 bool TransportSecurityState::DomainState::HasPublicKeyPins() const { | 963 bool TransportSecurityState::DomainState::HasPublicKeyPins() const { |
964 return pkp.spki_hashes.size() > 0 || pkp.bad_spki_hashes.size() > 0; | 964 return pkp.spki_hashes.size() > 0 || pkp.bad_spki_hashes.size() > 0; |
965 } | 965 } |
966 | 966 |
967 TransportSecurityState::DomainState::STSState::STSState() { | 967 TransportSecurityState::DomainState::STSState::STSState() { |
968 } | 968 } |
969 | 969 |
| 970 TransportSecurityState::DomainState::STSState::STSState(const STSState& rhs) = |
| 971 default; |
| 972 |
970 TransportSecurityState::DomainState::STSState::~STSState() { | 973 TransportSecurityState::DomainState::STSState::~STSState() { |
971 } | 974 } |
972 | 975 |
973 TransportSecurityState::DomainState::PKPState::PKPState() { | 976 TransportSecurityState::DomainState::PKPState::PKPState() { |
974 } | 977 } |
975 | 978 |
| 979 TransportSecurityState::DomainState::PKPState::PKPState(const PKPState& rhs) = |
| 980 default; |
| 981 |
976 TransportSecurityState::DomainState::PKPState::~PKPState() { | 982 TransportSecurityState::DomainState::PKPState::~PKPState() { |
977 } | 983 } |
978 | 984 |
979 } // namespace | 985 } // namespace |
OLD | NEW |