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/cert/cert_verify_proc_mac.h" | 5 #include "net/cert/cert_verify_proc_mac.h" |
6 | 6 |
7 #include <CommonCrypto/CommonDigest.h> | 7 #include <CommonCrypto/CommonDigest.h> |
8 #include <CoreServices/CoreServices.h> | 8 #include <CoreServices/CoreServices.h> |
9 #include <Security/Security.h> | 9 #include <Security/Security.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/mac/mac_logging.h" | 15 #include "base/mac/mac_logging.h" |
16 #include "base/mac/scoped_cftyperef.h" | 16 #include "base/mac/scoped_cftyperef.h" |
17 #include "base/sha1.h" | 17 #include "base/sha1.h" |
18 #include "base/strings/string_piece.h" | 18 #include "base/strings/string_piece.h" |
19 #include "base/synchronization/lock.h" | 19 #include "base/synchronization/lock.h" |
20 #include "crypto/mac_security_services_lock.h" | 20 #include "crypto/mac_security_services_lock.h" |
21 #include "crypto/nss_util.h" | |
22 #include "crypto/sha2.h" | 21 #include "crypto/sha2.h" |
23 #include "net/base/net_errors.h" | 22 #include "net/base/net_errors.h" |
24 #include "net/cert/asn1_util.h" | 23 #include "net/cert/asn1_util.h" |
25 #include "net/cert/cert_status_flags.h" | 24 #include "net/cert/cert_status_flags.h" |
26 #include "net/cert/cert_verifier.h" | 25 #include "net/cert/cert_verifier.h" |
27 #include "net/cert/cert_verify_result.h" | 26 #include "net/cert/cert_verify_result.h" |
28 #include "net/cert/crl_set.h" | 27 #include "net/cert/crl_set.h" |
29 #include "net/cert/test_root_certs.h" | 28 #include "net/cert/test_root_certs.h" |
30 #include "net/cert/x509_certificate.h" | 29 #include "net/cert/x509_certificate.h" |
31 #include "net/cert/x509_certificate_known_roots_mac.h" | 30 #include "net/cert/x509_certificate_known_roots_mac.h" |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 } | 723 } |
725 } | 724 } |
726 } | 725 } |
727 } | 726 } |
728 } | 727 } |
729 | 728 |
730 return OK; | 729 return OK; |
731 } | 730 } |
732 | 731 |
733 } // namespace net | 732 } // namespace net |
OLD | NEW |