| Index: net/cert/cert_verify_proc_mac.cc
|
| diff --git a/net/cert/cert_verify_proc_mac.cc b/net/cert/cert_verify_proc_mac.cc
|
| index 08f1b887f59dbcad6b8a2c2d304bce7117ed5e53..1fd2a8ad7d3b17a3e020885f2edeca4c10da2d4c 100644
|
| --- a/net/cert/cert_verify_proc_mac.cc
|
| +++ b/net/cert/cert_verify_proc_mac.cc
|
| @@ -750,12 +750,10 @@ int VerifyWithGivenFlags(X509Certificate* cert,
|
| // running on the same machine, so instead tests may load pre-created
|
| // keychains using SecKeychainOpen and then inject them through
|
| // TestKeychainSearchList.
|
| - CFArrayRef keychain_search_list;
|
| status = TestKeychainSearchList::GetInstance()->CopySearchList(
|
| - &keychain_search_list);
|
| + &scoped_alternate_keychain_search_list);
|
| if (status)
|
| return NetErrorFromOSStatus(status);
|
| - scoped_alternate_keychain_search_list.reset(keychain_search_list);
|
| }
|
| if (try_reordered_keychain) {
|
| // If a TestKeychainSearchList is present, it will have already set
|
|
|