diff options
Diffstat (limited to 'net/cert/x509_util_mac.h')
-rw-r--r-- | net/cert/x509_util_mac.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/cert/x509_util_mac.h b/net/cert/x509_util_mac.h index a35266b..08c1589 100644 --- a/net/cert/x509_util_mac.h +++ b/net/cert/x509_util_mac.h @@ -57,6 +57,11 @@ OSStatus NET_EXPORT CreateRevocationPolicies(bool enable_revocation_checking, bool enable_ev_checking, CFMutableArrayRef policies); +// CSSM functions are deprecated as of OSX 10.7, but have no replacement. +// https://bugs.chromium.org/p/chromium/issues/detail?id=590914#c1 +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + // Wrapper for a CSSM_DATA_PTR that was obtained via one of the CSSM field // accessors (such as CSSM_CL_CertGet[First/Next]Value or // CSSM_CL_CertGet[First/Next]CachedValue). @@ -132,6 +137,8 @@ class CSSMCachedCertificate { CSSM_HANDLE cached_cert_handle_; }; +#pragma clang diagnostic pop // "-Wdeprecated-declarations" + } // namespace x509_util } // namespace net |