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

Unified Diff: net/cert/cert_verify_proc_mac.cc

Issue 2411023002: *WIP* Mac Unittest for client cert selection with intermediate certs
Patch Set: rebase Created 4 years, 1 month 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 | « no previous file | net/cert/test_keychain_search_list_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | net/cert/test_keychain_search_list_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698