+2866. [bug] Windows does not like the TSIG name being compressed.
+ [RT #20986]
+
2865. [bug] memset to zero event.data. [RT #20986]
2864. [bug] Direct SIG/RRSIG queries were not handled correctly.
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: nsupdate.c,v 1.176 2010/03/09 03:46:12 marka Exp $ */
+/* $Id: nsupdate.c,v 1.177 2010/03/12 03:34:55 marka Exp $ */
/*! \file */
fprintf(stderr, "Sending update to %s\n", addrbuf);
}
+ /* Windows doesn't like the tsig name to be compressed. */
+ if (updatemsg->tsigname)
+ updatemsg->tsigname->attributes |= DNS_NAMEATTR_NOCOMPRESS;
+
result = dns_request_createvia3(requestmgr, updatemsg, srcaddr,
master, options, tsigkey, timeout,
udp_timeout, udp_retries, global_task,
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: message.c,v 1.251 2010/03/04 23:50:34 tbox Exp $ */
+/* $Id: message.c,v 1.252 2010/03/12 03:34:56 marka Exp $ */
/*! \file */
} else if (rdtype == dns_rdatatype_tsig && msg->tsig == NULL) {
msg->tsig = rdataset;
msg->tsigname = name;
+ /* Windows doesn't like TSIG names to be compressed. */
+ msg->tsigname->attributes |= DNS_NAMEATTR_NOCOMPRESS;
rdataset = NULL;
free_rdataset = ISC_FALSE;
free_name = ISC_FALSE;
*/
/*
- * $Id: tsig.c,v 1.138 2009/06/11 23:47:55 tbox Exp $
+ * $Id: tsig.c,v 1.139 2010/03/12 03:34:56 marka Exp $
*/
/*! \file */
#include <config.h>
msg->tsig = dataset;
msg->tsigname = owner;
+ /* Windows does not like the tsig name being compressed. */
+ msg->tsigname->attributes |= DNS_NAMEATTR_NOCOMPRESS;
+
return (ISC_R_SUCCESS);
cleanup_rdatalist: