Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
23
Issues
23
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
b330e1da
Commit
b330e1da
authored
Nov 16, 2017
by
Mark Karpilovskij
Committed by
Daniel Salzman
Nov 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tsig: remove redundant code
Solved Suggestion 1 from the security audit
parent
ba084da5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/libknot/tsig-op.c
src/libknot/tsig-op.c
+0
-1
No files found.
src/libknot/tsig-op.c
View file @
b330e1da
...
...
@@ -538,7 +538,6 @@ static int check_digest(const knot_rrset_t *tsig_rr,
return
KNOT_ENOMEM
;
}
memset
(
wire_to_sign
,
0
,
size
);
memcpy
(
wire_to_sign
,
wire
,
size
);
// restore message ID to which the signature had been created with
...
...
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