Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian Schrader
Kea
Commits
f1f86f35
Commit
f1f86f35
authored
Sep 10, 2012
by
Jelte Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[1357] a few editorial fixes
parent
e8a8a442
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/bin/xfrin/tests/xfrin_test.py
src/bin/xfrin/tests/xfrin_test.py
+1
-1
src/lib/dns/python/tsig_python.cc
src/lib/dns/python/tsig_python.cc
+1
-1
src/lib/dns/tsig.h
src/lib/dns/tsig.h
+4
-4
No files found.
src/bin/xfrin/tests/xfrin_test.py
View file @
f1f86f35
...
...
@@ -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:
...
...
src/lib/dns/python/tsig_python.cc
View file @
f1f86f35
...
...
@@ -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
}
};
...
...
src/lib/dns/tsig.h
View file @
f1f86f35
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment