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

Unified Diff: net/ssl/ssl_platform_key_nss_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_nss.cc ('k') | net/ssl/ssl_platform_key_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key_nss_unittest.cc
diff --git a/net/ssl/ssl_platform_key_nss_unittest.cc b/net/ssl/ssl_platform_key_nss_unittest.cc
index 2d40ba178d7e8a5eb440ad681985b17143fa6d51..21a20b4bd50d72bb5424d01f7c4785f8b18c43de 100644
--- a/net/ssl/ssl_platform_key_nss_unittest.cc
+++ b/net/ssl/ssl_platform_key_nss_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "net/ssl/ssl_platform_key.h"
+#include "net/ssl/ssl_platform_key_nss.h"
#include <keyhi.h>
#include <pk11pub.h>
@@ -121,7 +121,8 @@ TEST_P(SSLPlatformKeyNSSTest, KeyMatches) {
}
// Look up the key.
- scoped_refptr<SSLPrivateKey> key = FetchClientCertPrivateKey(cert.get());
+ scoped_refptr<SSLPrivateKey> key =
+ FetchClientCertPrivateKey(cert.get(), nullptr);
ASSERT_TRUE(key);
// All NSS keys are expected to have the same hash preferences.
« no previous file with comments | « net/ssl/ssl_platform_key_nss.cc ('k') | net/ssl/ssl_platform_key_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698