4697. [bug] Restore workaround for Microsoft Windows TSIG hash

computation bug. [RT #45854]

(cherry picked from commit a8a20462b5)
This commit is contained in:
Mark Andrews 2017-09-01 11:17:59 +10:00
parent 6eb9141841
commit b301c4293c
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,6 @@
4697. [bug] Restore workaround for Microsoft Windows TSIG hash
computation bug. [RT #45854]
4696. [port] Enable filter-aaaa support by default on Windows
builds. [RT #45883]

View file

@ -465,6 +465,9 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name,
dns_name_copy(owner_name, name, NULL);
dns_rdataset_getownercase(rdataset, name);
if ((owner_name->attributes & DNS_NAMEATTR_NOCOMPRESS) != 0)
name->attributes |= DNS_NAMEATTR_NOCOMPRESS;
do {
/*
* Copy out the name, type, class, ttl.