Index: net/ssl/ssl_platform_key_mac.cc |
diff --git a/net/ssl/ssl_platform_key_mac.cc b/net/ssl/ssl_platform_key_mac.cc |
index ec7cb42f0dbe42450732917036aaf2f628d9cc79..050189b7af46c70333485a5982d0e356e223c7f0 100644 |
--- a/net/ssl/ssl_platform_key_mac.cc |
+++ b/net/ssl/ssl_platform_key_mac.cc |
@@ -34,6 +34,11 @@ |
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 { |
class ScopedCSSM_CC_HANDLE { |
@@ -241,4 +246,6 @@ scoped_refptr<SSLPrivateKey> FetchClientCertPrivateKey( |
GetSSLPlatformKeyTaskRunner())); |
} |
+#pragma clang diagnostic pop // "-Wdeprecated-declarations" |
+ |
} // namespace net |