Commit f1f86f35 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[1357] a few editorial fixes

parent e8a8a442
...@@ -2948,7 +2948,7 @@ class TestFormatting(unittest.TestCase): ...@@ -2948,7 +2948,7 @@ class TestFormatting(unittest.TestCase):
self.assertEqual("example.org/IN", self.assertEqual("example.org/IN",
format_zone_str(isc.dns.Name("example.org"), format_zone_str(isc.dns.Name("example.org"),
isc.dns.RRClass("IN"))) isc.dns.RRClass("IN")))
def test_format_addrinfo(self): def test_format_addrinfo(self):
# This test may need to be updated if the input type is changed, # This test may need to be updated if the input type is changed,
# right now it is a nested tuple: # right now it is a nested tuple:
......
...@@ -92,7 +92,7 @@ PyMethodDef TSIGContext_methods[] = { ...@@ -92,7 +92,7 @@ PyMethodDef TSIGContext_methods[] = {
"Verify a DNS message." }, "Verify a DNS message." },
{ "last_had_signature", { "last_had_signature",
reinterpret_cast<PyCFunction>(TSIGContext_lastHadSignature), METH_NOARGS, 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 } { NULL, NULL, 0, NULL }
}; };
......
...@@ -352,11 +352,11 @@ public: ...@@ -352,11 +352,11 @@ public:
TSIGError verify(const TSIGRecord* const record, const void* const data, TSIGError verify(const TSIGRecord* const record, const void* const data,
const size_t data_len); 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, /// 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 /// the last message must be signed and the class has no knowledge if a
/// message is last, therefore it can't check that. /// 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 /// It is up to the caller to check if the last verified message was signed
/// after all are verified by calling this function. /// after all are verified by calling this function.
......
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