diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-10 16:36:34 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-10 16:36:34 +0000 |
commit | db7286d3355528b36de6f0d7fa7f8d9929566511 (patch) | |
tree | 11034e15b9b3da3715b3da7bdb164baf0471e280 /base/crypto/cssm_init.h | |
parent | e30d979b70b4cb4b8e59f36b20c13a8d7b1257e5 (diff) | |
download | chromium_src-db7286d3355528b36de6f0d7fa7f8d9929566511.zip chromium_src-db7286d3355528b36de6f0d7fa7f8d9929566511.tar.gz chromium_src-db7286d3355528b36de6f0d7fa7f8d9929566511.tar.bz2 |
Implement the signature verification API.
R=erikkay,avi
BUG=6305
Review URL: http://codereview.chromium.org/63089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13508 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/crypto/cssm_init.h')
-rw-r--r-- | base/crypto/cssm_init.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/base/crypto/cssm_init.h b/base/crypto/cssm_init.h new file mode 100644 index 0000000..20eda50 --- /dev/null +++ b/base/crypto/cssm_init.h @@ -0,0 +1,17 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef BASE_CRYPTO_CSSM_INIT_H_ +#define BASE_CRYPTO_CSSM_INIT_H_ + +namespace base { + +// 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. +void EnsureCSSMInit(); + +} // namespace base + +#endif // BASE_CRYPTO_CSSM_INIT_H_ |