Commit 2871292a authored by Brian Wellington's avatar Brian Wellington
Browse files

Require that a message hasn't already been signed before signing it.

Hopefully this will never be triggered.
parent 77668e0f
......@@ -1654,6 +1654,7 @@ dns_message_renderend(dns_message_t *msg)
}
if (msg->tsigkey != NULL) {
REQUIRE(msg->tsig == NULL);
result = dns_tsig_sign(msg);
if (result != DNS_R_SUCCESS)
return (result);
......
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