Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(946)

Unified Diff: crypto/nss_util.h

Issue 36593002: crypto/nss_util: Get TPM slot id, do lookup by id instead of by name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sandbox debugging crap Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crypto/hmac_nss.cc ('k') | crypto/nss_util.cc » ('j') | crypto/nss_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/nss_util.h
diff --git a/crypto/nss_util.h b/crypto/nss_util.h
index 1d7503d81315649039de8f3a2eabac3a2b7e5c0c..53fe69c6e49cf4c218b7d171ac2a8e513def3f0a 100644
--- a/crypto/nss_util.h
+++ b/crypto/nss_util.h
@@ -116,7 +116,8 @@ CRYPTO_EXPORT bool IsTPMTokenReady();
// Initialize the TPM token. Does nothing if it is already initialized.
CRYPTO_EXPORT bool InitializeTPMToken(const std::string& token_name,
- const std::string& user_pin);
+ const std::string& user_pin,
+ int token_slot_id);
#endif
// Convert a NSS PRTime value into a base::Time object.
« no previous file with comments | « crypto/hmac_nss.cc ('k') | crypto/nss_util.cc » ('j') | crypto/nss_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698