From 08eb1c80d2c4646c6971f2704ee7517f0f7cbb68 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Tue, 22 Aug 2000 01:10:42 +0000 Subject: [PATCH] dns_message_setsig0key was incorrectly requiring msg->buffer to be non-null. --- lib/dns/message.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dns/message.c b/lib/dns/message.c index e10bd1a02a..2b540ac8f5 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: message.c,v 1.141 2000/08/21 22:41:13 bwelling Exp $ */ +/* $Id: message.c,v 1.142 2000/08/22 01:10:42 bwelling Exp $ */ /*** *** Imports @@ -2466,7 +2466,6 @@ dns_message_setsig0key(dns_message_t *msg, dst_key_t *key) { */ REQUIRE(DNS_MESSAGE_VALID(msg)); REQUIRE(msg->from_to_wire == DNS_MESSAGE_INTENTRENDER); - REQUIRE(msg->buffer != NULL); REQUIRE(msg->state == DNS_SECTION_ANY); REQUIRE(msg->sig0key == NULL && msg->tsigkey == NULL);