1588. [bug] win32: TCP sockets could become blocked. [RT #10115]
+1587. [bug] dns_message_settsigkey() failed to clear existing key.
+ [RT #10590]
+
1585. [bug] allow-v6-synthesis was not performing lookups under
IP6.INT. allow-v6-synthesis now performs a nibble
lookups under IP6.ARPA rather than a bitstring lookups.
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: message.c,v 1.194.2.12 2004/03/09 06:11:03 marka Exp $ */
+/* $Id: message.c,v 1.194.2.13 2004/03/10 00:50:02 marka Exp $ */
/***
*** Imports
REQUIRE(DNS_MESSAGE_VALID(msg));
REQUIRE(msg->state == DNS_SECTION_ANY);
+ if (key == NULL && msg->tsigkey != NULL) {
+ if (msg->sig_reserved != 0) {
+ dns_message_renderrelease(msg, msg->sig_reserved);
+ msg->sig_reserved = 0;
+ }
+ dns_tsigkey_detach(&msg->tsigkey);
+ }
if (key != NULL) {
dns_tsigkey_attach(key, &msg->tsigkey);
if (msg->from_to_wire == DNS_MESSAGE_INTENTRENDER) {