]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1357] a few editorial fixes
authorJelte Jansen <jelte@isc.org>
Mon, 10 Sep 2012 10:32:26 +0000 (12:32 +0200)
committerJelte Jansen <jelte@isc.org>
Mon, 10 Sep 2012 10:32:26 +0000 (12:32 +0200)
src/bin/xfrin/tests/xfrin_test.py
src/lib/dns/python/tsig_python.cc
src/lib/dns/tsig.h

index 1c3256bcd6fc560358f9552d38476ae71e9a4fa1..4ee36b797bda86649ae130634e17bec996aba228 100644 (file)
@@ -2948,7 +2948,7 @@ class TestFormatting(unittest.TestCase):
         self.assertEqual("example.org/IN",
                          format_zone_str(isc.dns.Name("example.org"),
                          isc.dns.RRClass("IN")))
-    
+
     def test_format_addrinfo(self):
         # This test may need to be updated if the input type is changed,
         # right now it is a nested tuple:
index 96df29afca4207ab2eccfc7986e8a7e9ba64b36c..abb77334f61eccbd4fa8776e4a689754594f686b 100644 (file)
@@ -92,7 +92,7 @@ PyMethodDef TSIGContext_methods[] = {
       "Verify a DNS message." },
     { "last_had_signature",
       reinterpret_cast<PyCFunction>(TSIGContext_lastHadSignature), METH_NOARGS,
-      "Return if the last verified message contained a signature" },
+      "Return True if the last verified message contained a signature" },
     { NULL, NULL, 0, NULL }
 };
 
index e2a531a9d6db0b61ff138722a6a061df12993698..9ccc580bb20be1fe2c15ba4264e207a38a84e8bd 100644 (file)
@@ -352,11 +352,11 @@ public:
     TSIGError verify(const TSIGRecord* const record, const void* const data,
                      const size_t data_len);
 
-    /// \brief If the last verified message was signed.
+    /// \brief Check whether the last verified message was signed.
     ///
-    /// The RFC2845 allows for some of the messages not to be signed. However,
-    /// the last message must be signed and the class has knowledge if a given
-    /// message is last, therefore it can't check that.
+    /// RFC2845 allows for some of the messages not to be signed. However,
+    /// the last message must be signed and the class has no knowledge if a
+    /// given message is the last one, therefore it can't check directly.
     ///
     /// It is up to the caller to check if the last verified message was signed
     /// after all are verified by calling this function.