Browse Source

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

JINMEI Tatuya 13 years ago
parent
commit
c653a1bd0f

+ 1 - 1
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)))
 

+ 1 - 1
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)));
 }