| 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 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "net/cert/cert_verify_result.h" | 28 #include "net/cert/cert_verify_result.h" |
| 29 #include "net/cert/crl_set.h" | 29 #include "net/cert/crl_set.h" |
| 30 #include "net/cert/ev_root_ca_metadata.h" | 30 #include "net/cert/ev_root_ca_metadata.h" |
| 31 #include "net/cert/internal/certificate_policies.h" | 31 #include "net/cert/internal/certificate_policies.h" |
| 32 #include "net/cert/internal/parsed_certificate.h" | 32 #include "net/cert/internal/parsed_certificate.h" |
| 33 #include "net/cert/known_roots_mac.h" | 33 #include "net/cert/known_roots_mac.h" |
| 34 #include "net/cert/test_keychain_search_list_mac.h" | 34 #include "net/cert/test_keychain_search_list_mac.h" |
| 35 #include "net/cert/test_root_certs.h" | 35 #include "net/cert/test_root_certs.h" |
| 36 #include "net/cert/x509_certificate.h" | 36 #include "net/cert/x509_certificate.h" |
| 37 #include "net/cert/x509_util.h" | 37 #include "net/cert/x509_util.h" |
| 38 #include "net/cert/x509_util_ios_and_mac.h" |
| 38 #include "net/cert/x509_util_mac.h" | 39 #include "net/cert/x509_util_mac.h" |
| 39 | 40 |
| 40 // CSSM functions are deprecated as of OSX 10.7, but have no replacement. | 41 // CSSM functions are deprecated as of OSX 10.7, but have no replacement. |
| 41 // https://bugs.chromium.org/p/chromium/issues/detail?id=590914#c1 | 42 // https://bugs.chromium.org/p/chromium/issues/detail?id=590914#c1 |
| 42 #pragma clang diagnostic push | 43 #pragma clang diagnostic push |
| 43 #pragma clang diagnostic ignored "-Wdeprecated-declarations" | 44 #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
| 44 | 45 |
| 45 using base::ScopedCFTypeRef; | 46 using base::ScopedCFTypeRef; |
| 46 | 47 |
| 47 namespace net { | 48 namespace net { |
| (...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1037 // EV cert and it was covered by CRLSets or revocation checking passed. | 1038 // EV cert and it was covered by CRLSets or revocation checking passed. |
| 1038 verify_result->cert_status |= CERT_STATUS_IS_EV; | 1039 verify_result->cert_status |= CERT_STATUS_IS_EV; |
| 1039 } | 1040 } |
| 1040 | 1041 |
| 1041 return OK; | 1042 return OK; |
| 1042 } | 1043 } |
| 1043 | 1044 |
| 1044 } // namespace net | 1045 } // namespace net |
| 1045 | 1046 |
| 1046 #pragma clang diagnostic pop // "-Wdeprecated-declarations" | 1047 #pragma clang diagnostic pop // "-Wdeprecated-declarations" |
| OLD | NEW |