diff --git a/CHANGES b/CHANGES index b55983fbb8..e1a5dc6ca5 100644 --- a/CHANGES +++ b/CHANGES @@ -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] diff --git a/lib/dns/rdataset.c b/lib/dns/rdataset.c index 5b88f20a98..a168588683 100644 --- a/lib/dns/rdataset.c +++ b/lib/dns/rdataset.c @@ -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.