| Index: net/cert/x509_certificate_mac.cc
|
| diff --git a/net/cert/x509_certificate_mac.cc b/net/cert/x509_certificate_mac.cc
|
| index e27576ab26592475dafd3578081694eb31b78dba..83f8993dabd7b588a2126c9537d291caaced5e8c 100644
|
| --- a/net/cert/x509_certificate_mac.cc
|
| +++ b/net/cert/x509_certificate_mac.cc
|
| @@ -29,6 +29,11 @@ using base::Time;
|
|
|
| namespace net {
|
|
|
| +// 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"
|
| +
|
| namespace {
|
|
|
| void GetCertDistinguishedName(
|
| @@ -573,4 +578,6 @@ bool X509Certificate::IsSelfSigned(OSCertHandle cert_handle) {
|
| return true;
|
| }
|
|
|
| +#pragma clang diagnostic pop // "-Wdeprecated-declarations"
|
| +
|
| } // namespace net
|
|
|