From: JINMEI Tatuya Date: Tue, 31 Jan 2012 18:04:16 +0000 (-0800) Subject: [1574b] updated some comments so they'll be less confusing X-Git-Tag: trac2351_base~268^2~5^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c653a1bd0fa764039207f5ed1375acaa4170e8e5;p=thirdparty%2Fkea.git [1574b] updated some comments so they'll be less confusing --- diff --git a/src/lib/dns/python/tests/nsec3hash_python_test.py b/src/lib/dns/python/tests/nsec3hash_python_test.py index 3c9329e5ae..1a247d03ef 100644 --- a/src/lib/dns/python/tests/nsec3hash_python_test.py +++ b/src/lib/dns/python/tests/nsec3hash_python_test.py @@ -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))) diff --git a/src/lib/dns/tests/nsec3hash_unittest.cc b/src/lib/dns/tests/nsec3hash_unittest.cc index 4bd46faba0..36a1d4d5ee 100644 --- a/src/lib/dns/tests/nsec3hash_unittest.cc +++ b/src/lib/dns/tests/nsec3hash_unittest.cc @@ -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))); }