Commit c653a1bd authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1574b] updated some comments so they'll be less confusing

parent 8b51e48c
......@@ -104,7 +104,7 @@ class NSEC3HashTest(unittest.TestCase):
# Salt doesn't match: the other has an empty salt
self.assertFalse(hash.match(Rdata(rrtype, RRClass.IN(),
"1 0 12 -" + postfix)))
# Flags doesn't matter
# Flag doesn't matter
self.assertTrue(hash.match(Rdata(rrtype, RRClass.IN(),
"1 1 12 aabbccdd" + postfix)))
......
......@@ -115,7 +115,7 @@ matchCheck(NSEC3Hash& hash, const string& postfix) {
EXPECT_FALSE(hash.match(RDATAType("1 0 12 aabbccde" + postfix)));
// Salt doesn't match: the other has an empty salt
EXPECT_FALSE(hash.match(RDATAType("1 0 12 -" + postfix)));
// Flags doesn't matter
// Flags don't matter
EXPECT_TRUE(hash.match(RDATAType("1 1 12 aabbccdd" + postfix)));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment