Chromium Code Reviews| Index: crypto/nss_util.cc |
| diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc |
| index 02c932711968761233e0217bea0ccf3507ffbff6..49bd7dd7fb3e88d6dee755e5c20e60328373ad06 100644 |
| --- a/crypto/nss_util.cc |
| +++ b/crypto/nss_util.cc |
| @@ -347,8 +347,7 @@ class NSSInitSingleton { |
| base::Unretained(this), // NSSInitSingleton is leaky |
| callback, |
| base::Passed(&tpm_args)), |
| - true /* task_is_slow */ |
| - )) { |
| + true /* task_is_slow */)) { |
| initializing_tpm_token_ = true; |
| } else { |
| base::MessageLoop::current()->PostTask(FROM_HERE, |
| @@ -507,8 +506,7 @@ class NSSInitSingleton { |
| base::Unretained(this), // NSSInitSingleton is leaky |
| username_hash, |
| base::Passed(&tpm_args)), |
| - true /* task_is_slow */ |
| - ); |
| + true /* task_is_slow */); |
| } |
| void OnInitializedTPMForChromeOSUser(const std::string& username_hash, |
| @@ -538,7 +536,7 @@ class NSSInitSingleton { |
| if (username_hash.empty()) { |
| DVLOG(2) << "empty username_hash"; |
| - return ScopedPK11Slot(); |
| + return ScopedPK11Slot(PK11_GetInternalKeySlot()); |
|
pneubeck (no reviews)
2014/12/02 11:56:47
the fact that you have to change this to make the
|
| } |
| if (chromeos_user_map_.find(username_hash) == chromeos_user_map_.end()) { |