mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 07:09:59 -04:00
dns_message_setsig0key was incorrectly requiring msg->buffer to be non-null.
This commit is contained in:
parent
95940593a6
commit
08eb1c80d2
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue