Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Daniel Kahn Gillmor
Knot DNS Resolver
Commits
caa82b82
Commit
caa82b82
authored
Jan 20, 2016
by
Marek Vavrusa
Browse files
Merge branch 'deck_test'
parents
2800e375
22e8b6dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/dnssec/nsec3.c
View file @
caa82b82
...
...
@@ -353,7 +353,7 @@ fail:
*
* @param tgt Target buffer to write domain name into.
* @param name Name to be added to the asterisk.
* @return
0
or error code
* @return
Size of the resulting name
or error code
.
*/
static
int
prepend_asterisk
(
uint8_t
*
tgt
,
size_t
maxlen
,
const
knot_dname_t
*
name
)
{
...
...
@@ -639,9 +639,10 @@ static int matches_closest_encloser_wildcard(const knot_pkt_t *pkt, knot_section
uint8_t
wildcard
[
KNOT_DNAME_MAXLEN
];
int
ret
=
prepend_asterisk
(
wildcard
,
sizeof
(
wildcard
),
encloser
);
if
(
ret
!=
0
)
{
if
(
ret
<
0
)
{
return
ret
;
}
assert
(
ret
>=
3
);
int
flags
;
for
(
unsigned
i
=
0
;
i
<
sec
->
count
;
++
i
)
{
...
...
deckard
@
e73a0854
Subproject commit
b1e3c922bdf7e6f47c499ee6c69f07786b68582a
Subproject commit
e73a0854552d94e8bc5306e75c3a2229bc739531
Write
Preview
Supports
Markdown
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