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

Unified Diff: crypto/nss_util.cc

Issue 9389028: Make nss/TPM integration in ChromeOS more robust. (Closed) Base URL: http://git.chromium.org/git/chromium/src@master
Patch Set: . Created 8 years, 10 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 | « chrome/browser/chromeos/login/user_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/nss_util.cc
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc
index 4a48db1b66410f6fe1dd523a1cc81062be5f07b3..e981cb2fcf9ef476e7b48e06ef492ffae781f98d 100644
--- a/crypto/nss_util.cc
+++ b/crypto/nss_util.cc
@@ -382,10 +382,8 @@ class NSSInitSingleton {
return PK11_ReferenceSlot(test_slot_);
#if defined(OS_CHROMEOS)
- // Make sure that if EnableTPMTokenForNSS has been called that we
- // have successfully loaded Chaps.
if (tpm_token_info_delegate_.get() != NULL) {
- if (EnsureTPMTokenReady()) {
+ if (IsTPMTokenReady()) {
Greg Spencer (Chromium) 2012/02/14 01:44:04 So what if nobody ever calls EnsureTPMTokenReady b
return PK11_ReferenceSlot(tpm_slot_);
} else {
// If we were supposed to get the hardware token, but were
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698