| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/cert/ct_objects_extractor.h" | 5 #include "net/cert/ct_objects_extractor.h" |
| 6 | 6 |
| 7 #include <cert.h> | 7 #include <cert.h> |
| 8 #include <secasn1.h> | 8 #include <secasn1.h> |
| 9 #include <secitem.h> | 9 #include <secitem.h> |
| 10 #include <secoid.h> | 10 #include <secoid.h> |
| 11 | 11 |
| 12 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
| 13 #include "base/macros.h" |
| 13 #include "base/sha1.h" | 14 #include "base/sha1.h" |
| 14 #include "crypto/scoped_nss_types.h" | 15 #include "crypto/scoped_nss_types.h" |
| 15 #include "crypto/sha2.h" | 16 #include "crypto/sha2.h" |
| 16 #include "net/cert/asn1_util.h" | 17 #include "net/cert/asn1_util.h" |
| 17 #include "net/cert/scoped_nss_types.h" | 18 #include "net/cert/scoped_nss_types.h" |
| 18 #include "net/cert/signed_certificate_timestamp.h" | 19 #include "net/cert/signed_certificate_timestamp.h" |
| 19 | 20 |
| 20 namespace net { | 21 namespace net { |
| 21 | 22 |
| 22 namespace ct { | 23 namespace ct { |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 if (!match) | 609 if (!match) |
| 609 return false; | 610 return false; |
| 610 | 611 |
| 611 return GetSCTListFromOCSPExtension(arena.get(), match->single_extensions, | 612 return GetSCTListFromOCSPExtension(arena.get(), match->single_extensions, |
| 612 sct_list); | 613 sct_list); |
| 613 } | 614 } |
| 614 | 615 |
| 615 } // namespace ct | 616 } // namespace ct |
| 616 | 617 |
| 617 } // namespace net | 618 } // namespace net |
| OLD | NEW |