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

Unified Diff: net/ssl/ssl_platform_key_nss_unittest.cc

Issue 2608453002: Remove the password parameter for ECPrivateKey::ExportEncryptedPrivateKey. (Closed)
Patch Set: fmt Created 4 years 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
« net/ssl/channel_id_service.h ('K') | « net/ssl/channel_id_service.cc ('k') | no next file » | 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 85799cae131deb2504eaea6801d1d7e4082c8336..350c46273b7c5f70679d081b95a26eec1025e3dd 100644
--- a/net/ssl/ssl_platform_key_nss_unittest.cc
+++ b/net/ssl/ssl_platform_key_nss_unittest.cc
@@ -74,7 +74,7 @@ TEST_P(SSLPlatformKeyNSSTest, KeyMatches) {
crypto::ECPrivateKey::CreateFromPrivateKeyInfo(pkcs8_vector);
ASSERT_TRUE(ec_private_key);
std::vector<uint8_t> encrypted;
- ASSERT_TRUE(ec_private_key->ExportEncryptedPrivateKey("", 1, &encrypted));
+ ASSERT_TRUE(ec_private_key->ExportEncryptedPrivateKey(&encrypted));
SECItem encrypted_item = {siBuffer, encrypted.data(),
static_cast<unsigned>(encrypted.size())};
« net/ssl/channel_id_service.h ('K') | « net/ssl/channel_id_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698