summaryrefslogtreecommitdiffstats
path: root/crypto/ec_private_key_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ec_private_key_unittest.cc')
-rw-r--r--crypto/ec_private_key_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec_private_key_unittest.cc b/crypto/ec_private_key_unittest.cc
index d2ec256..a052a9a 100644
--- a/crypto/ec_private_key_unittest.cc
+++ b/crypto/ec_private_key_unittest.cc
@@ -23,7 +23,7 @@ TEST(ECPrivateKeyUnitTest, OpenSSLStub) {
// back the same exact public key, and the private key should have the same
// value and elliptic curve params.
TEST(ECPrivateKeyUnitTest, InitRandomTest) {
- const std::string password1;
+ const std::string password1 = "";
const std::string password2 = "test";
scoped_ptr<crypto::ECPrivateKey> keypair1(
@@ -86,7 +86,7 @@ TEST(ECPrivateKeyUnitTest, InitRandomTest) {
}
TEST(ECPrivateKeyUnitTest, BadPasswordTest) {
- const std::string password1;
+ const std::string password1 = "";
const std::string password2 = "test";
scoped_ptr<crypto::ECPrivateKey> keypair1(