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

Unified Diff: net/ssl/ssl_platform_key_mac_unittest.cc

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: removed no longer needed forward declaration Created 3 years, 6 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 | « net/ssl/ssl_platform_key_mac.cc ('k') | net/ssl/ssl_platform_key_nss.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key_mac_unittest.cc
diff --git a/net/ssl/ssl_platform_key_mac_unittest.cc b/net/ssl/ssl_platform_key_mac_unittest.cc
index 3689d42166f72e46bc91ed5afb2826932b9c2ad6..006d417d9316df627fcd6415ddf0433d5be991e5 100644
--- a/net/ssl/ssl_platform_key_mac_unittest.cc
+++ b/net/ssl/ssl_platform_key_mac_unittest.cc
@@ -69,7 +69,7 @@ TEST_P(SSLPlatformKeyMacTest, KeyMatches) {
// Finally, test the code to look up the key.
scoped_refptr<SSLPrivateKey> key =
- FetchClientCertPrivateKeyFromKeychain(cert.get(), keychain);
+ CreateSSLPrivateKeyForSecIdentity(cert.get(), sec_identity.get());
ASSERT_TRUE(key);
// All Mac keys are expected to have the same hash preferences.
« no previous file with comments | « net/ssl/ssl_platform_key_mac.cc ('k') | net/ssl/ssl_platform_key_nss.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698