OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef BASE_CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_ | |
6 #define BASE_CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_ | |
7 #pragma once | |
8 | |
9 namespace base { | |
10 | |
11 class Lock; | |
12 | |
13 // The Mac OS X certificate and key management wrappers over CSSM are not | |
14 // thread-safe. In particular, code that accesses the CSSM database is | |
15 // problematic. | |
16 // | |
17 // http://developer.apple.com/mac/library/documentation/Security/Reference/certi
fkeytrustservices/Reference/reference.html | |
18 Lock& GetMacSecurityServicesLock(); | |
19 | |
20 } // namespace base | |
21 | |
22 #endif // BASE_CRYPTO_MAC_SECURITY_SERVICES_LOCK_H_ | |
OLD | NEW |