Commit ff92cafd authored by Mark Karpilovskij's avatar Mark Karpilovskij Committed by Daniel Salzman

tsig: remove redundant code

Solved Suggestion 1 from the security audit
parent 8bdff470
......@@ -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
......
Markdown is supported
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