| Index: crypto/cssm_init.h
|
| diff --git a/crypto/cssm_init.h b/crypto/cssm_init.h
|
| index 3eece1b9c3be12a788a2d2603614782b01d23703..a4da34aad2b6084f1fd6ca9718e1a07f32c6fa14 100644
|
| --- a/crypto/cssm_init.h
|
| +++ b/crypto/cssm_init.h
|
| @@ -12,6 +12,11 @@
|
|
|
| namespace crypto {
|
|
|
| +// 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"
|
| +
|
| // Initialize CSSM if it isn't already initialized. This must be called before
|
| // any other CSSM functions. This function is thread-safe, and CSSM will only
|
| // ever be initialized once. CSSM will be properly shut down on program exit.
|
| @@ -55,6 +60,8 @@ class ScopedCSSMData {
|
| DISALLOW_COPY_AND_ASSIGN(ScopedCSSMData);
|
| };
|
|
|
| +#pragma clang diagnostic pop // "-Wdeprecated-declarations"
|
| +
|
| } // namespace crypto
|
|
|
| #endif // CRYPTO_CSSM_INIT_H_
|
|
|