| Index: net/ssl/client_cert_store_chromeos.cc
|
| diff --git a/net/ssl/client_cert_store_chromeos.cc b/net/ssl/client_cert_store_chromeos.cc
|
| index f357797e34b5d18b87766d81eaf1a42452635950..a2d9b56c2dc4f7b76b1b078476b7c5c60cec5138 100644
|
| --- a/net/ssl/client_cert_store_chromeos.cc
|
| +++ b/net/ssl/client_cert_store_chromeos.cc
|
| @@ -63,14 +63,18 @@ void ClientCertStoreChromeOS::DidGetPrivateSlot(
|
| const base::Closure& callback,
|
| crypto::ScopedPK11Slot private_slot) {
|
| profile_filter_.Init(crypto::GetPublicSlotForChromeOSUser(username_hash_),
|
| - private_slot.Pass());
|
| + private_slot.Pass(),
|
| + crypto::ScopedPK11Slot(crypto::GetSystemNSSKeySlot()));
|
| ClientCertStoreNSS::GetClientCerts(*request, selected_certs, callback);
|
| }
|
|
|
| void ClientCertStoreChromeOS::InitForTesting(
|
| crypto::ScopedPK11Slot public_slot,
|
| crypto::ScopedPK11Slot private_slot) {
|
| - profile_filter_.Init(public_slot.Pass(), private_slot.Pass());
|
| + profile_filter_.Init(public_slot.Pass(),
|
| + private_slot.Pass(),
|
| + // XXX pass system slot? add unittests with system slot?
|
| + crypto::ScopedPK11Slot());
|
| }
|
|
|
| bool ClientCertStoreChromeOS::SelectClientCertsForTesting(
|
|
|