| 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/ssl/ssl_info.h" | 5 #include "net/ssl/ssl_info.h" |
| 6 | 6 |
| 7 #include "base/pickle.h" | 7 #include "base/pickle.h" |
| 8 #include "net/cert/cert_status_flags.h" | 8 #include "net/cert/cert_status_flags.h" |
| 9 #include "net/cert/ct_policy_status.h" | 9 #include "net/cert/ct_policy_status.h" |
| 10 #include "net/cert/signed_certificate_timestamp.h" | 10 #include "net/cert/signed_certificate_timestamp.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 for (const auto& sct : ct_verify_result.invalid_scts) { | 78 for (const auto& sct : ct_verify_result.invalid_scts) { |
| 79 signed_certificate_timestamps.push_back( | 79 signed_certificate_timestamps.push_back( |
| 80 SignedCertificateTimestampAndStatus(sct, ct::SCT_STATUS_INVALID)); | 80 SignedCertificateTimestampAndStatus(sct, ct::SCT_STATUS_INVALID)); |
| 81 } | 81 } |
| 82 for (const auto& sct : ct_verify_result.unknown_logs_scts) { | 82 for (const auto& sct : ct_verify_result.unknown_logs_scts) { |
| 83 signed_certificate_timestamps.push_back( | 83 signed_certificate_timestamps.push_back( |
| 84 SignedCertificateTimestampAndStatus(sct, ct::SCT_STATUS_LOG_UNKNOWN)); | 84 SignedCertificateTimestampAndStatus(sct, ct::SCT_STATUS_LOG_UNKNOWN)); |
| 85 } | 85 } |
| 86 | 86 |
| 87 ct_compliance_details_available = ct_verify_result.ct_policies_applied; | 87 ct_compliance_details_available = ct_verify_result.ct_policies_applied; |
| 88 ct_cert_policy_compliance = ct_verify_result.cert_policy_compliance; |
| 88 ct_ev_policy_compliance = ct_verify_result.ev_policy_compliance; | 89 ct_ev_policy_compliance = ct_verify_result.ev_policy_compliance; |
| 89 } | 90 } |
| 90 | 91 |
| 91 } // namespace net | 92 } // namespace net |
| OLD | NEW |