| 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 14 matching lines...) Expand all Loading... |
| 25 #include "net/base/net_errors.h" | 25 #include "net/base/net_errors.h" |
| 26 #include "net/cert/asn1_util.h" | 26 #include "net/cert/asn1_util.h" |
| 27 #include "net/cert/cert_status_flags.h" | 27 #include "net/cert/cert_status_flags.h" |
| 28 #include "net/cert/cert_verifier.h" | 28 #include "net/cert/cert_verifier.h" |
| 29 #include "net/cert/cert_verify_result.h" | 29 #include "net/cert/cert_verify_result.h" |
| 30 #include "net/cert/crl_set.h" | 30 #include "net/cert/crl_set.h" |
| 31 #include "net/cert/test_root_certs.h" | 31 #include "net/cert/test_root_certs.h" |
| 32 #include "net/cert/x509_certificate.h" | 32 #include "net/cert/x509_certificate.h" |
| 33 #include "net/cert/x509_util_mac.h" | 33 #include "net/cert/x509_util_mac.h" |
| 34 | 34 |
| 35 // CSSM functions are deprecated as of OSX 10.7, but have no replacement. |
| 36 // https://bugs.chromium.org/p/chromium/issues/detail?id=590914#c1 |
| 37 #pragma clang diagnostic push |
| 38 #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
| 39 |
| 35 // From 10.7.2 libsecurity_keychain-55035/lib/SecTrustPriv.h, for use with | 40 // From 10.7.2 libsecurity_keychain-55035/lib/SecTrustPriv.h, for use with |
| 36 // SecTrustCopyExtendedResult. | 41 // SecTrustCopyExtendedResult. |
| 37 #ifndef kSecEVOrganizationName | 42 #ifndef kSecEVOrganizationName |
| 38 #define kSecEVOrganizationName CFSTR("Organization") | 43 #define kSecEVOrganizationName CFSTR("Organization") |
| 39 #endif | 44 #endif |
| 40 | 45 |
| 41 using base::ScopedCFTypeRef; | 46 using base::ScopedCFTypeRef; |
| 42 | 47 |
| 43 namespace net { | 48 namespace net { |
| 44 | 49 |
| (...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 } | 833 } |
| 829 } | 834 } |
| 830 } | 835 } |
| 831 } | 836 } |
| 832 } | 837 } |
| 833 | 838 |
| 834 return OK; | 839 return OK; |
| 835 } | 840 } |
| 836 | 841 |
| 837 } // namespace net | 842 } // namespace net |
| 843 |
| 844 #pragma clang diagnostic pop // "-Wdeprecated-declarations" |
| OLD | NEW |