| Index: net/cert/internal/verify_name_match_unittest.cc
|
| diff --git a/net/cert/internal/verify_name_match_unittest.cc b/net/cert/internal/verify_name_match_unittest.cc
|
| index 0bdce8a028ac56ee7b8dd92e0d91257a57273100..1753d8f9f6f35127ddfaecc13522a6e621c535f5 100644
|
| --- a/net/cert/internal/verify_name_match_unittest.cc
|
| +++ b/net/cert/internal/verify_name_match_unittest.cc
|
| @@ -11,10 +11,14 @@ namespace net {
|
|
|
| TEST(VerifyNameMatchTest, Simple) {
|
| // TODO(mattm): Use valid Names.
|
| - EXPECT_TRUE(VerifyNameMatch(der::Input("hello"), der::Input("hello")));
|
| - EXPECT_FALSE(VerifyNameMatch(der::Input("aello"), der::Input("hello")));
|
| - EXPECT_FALSE(VerifyNameMatch(der::Input("hello"), der::Input("hello1")));
|
| - EXPECT_FALSE(VerifyNameMatch(der::Input("hello1"), der::Input("hello")));
|
| + EXPECT_TRUE(VerifyNameMatch(der::Input::FromCString("hello"),
|
| + der::Input::FromCString("hello")));
|
| + EXPECT_FALSE(VerifyNameMatch(der::Input::FromCString("aello"),
|
| + der::Input::FromCString("hello")));
|
| + EXPECT_FALSE(VerifyNameMatch(der::Input::FromCString("hello"),
|
| + der::Input::FromCString("hello1")));
|
| + EXPECT_FALSE(VerifyNameMatch(der::Input::FromCString("hello1"),
|
| + der::Input::FromCString("hello")));
|
| }
|
|
|
| } // namespace net
|
|
|