Index: net/ssl/client_cert_store_mac.cc |
diff --git a/net/ssl/client_cert_store_mac.cc b/net/ssl/client_cert_store_mac.cc |
index 06d7d0613c88560e00116bd86541565da31f4a7a..ec662b57bb87f60158be691f9d7e9c3de0784579 100644 |
--- a/net/ssl/client_cert_store_mac.cc |
+++ b/net/ssl/client_cert_store_mac.cc |
@@ -28,6 +28,11 @@ using base::ScopedCFTypeRef; |
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 { |
// Gets the issuer for a given cert, starting with the cert itself and |
@@ -274,4 +279,6 @@ bool ClientCertStoreMac::SelectClientCertsGivenPreferredForTesting( |
return true; |
} |
+#pragma clang diagnostic pop // "-Wdeprecated-declarations" |
+ |
} // namespace net |