diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-20 23:24:09 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-20 23:24:09 +0000 |
commit | e4c9ddaf1f515ab9b11855d710107c91771cb5a9 (patch) | |
tree | 955d35dd2b66abb75b4d30d71344d91786a0fa99 /crypto/nss_util_internal.h | |
parent | 696e471564eee41d4077c450ec331d57992c303a (diff) | |
download | chromium_src-e4c9ddaf1f515ab9b11855d710107c91771cb5a9.zip chromium_src-e4c9ddaf1f515ab9b11855d710107c91771cb5a9.tar.gz chromium_src-e4c9ddaf1f515ab9b11855d710107c91771cb5a9.tar.bz2 |
Crypto: Add crypto_api to code needed outside of crypto
that is not covered by crypto_unittests
BUG=85776
TEST=none
Review URL: http://codereview.chromium.org/7209001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/nss_util_internal.h')
-rw-r--r-- | crypto/nss_util_internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/nss_util_internal.h b/crypto/nss_util_internal.h index e90e4c4..4d6a928 100644 --- a/crypto/nss_util_internal.h +++ b/crypto/nss_util_internal.h @@ -8,6 +8,8 @@ #include <secmodt.h> +#include "crypto/crypto_api.h" + // These functions return a type defined in an NSS header, and so cannot be // declared in nss_util.h. Hence, they are declared here. @@ -16,14 +18,14 @@ namespace crypto { // Returns a reference to the default NSS key slot for storing // public-key data only (e.g. server certs). Caller must release // returned reference with PK11_FreeSlot. -PK11SlotInfo* GetPublicNSSKeySlot(); +CRYPTO_API PK11SlotInfo* GetPublicNSSKeySlot(); // Returns a reference to the default slot for storing private-key and // mixed private-key/public-key data. Returns a hardware (TPM) NSS // key slot if on ChromeOS and EnableTPMForNSS() has been called // successfully. Caller must release returned reference with // PK11_FreeSlot. -PK11SlotInfo* GetPrivateNSSKeySlot(); +CRYPTO_API PK11SlotInfo* GetPrivateNSSKeySlot(); // A helper class that acquires the SECMOD list read lock while the // AutoSECMODListReadLock is in scope. |