bind/bind-9.11-rh1484451.patch

28 lines
846 B
Diff

From a8a20462b516b0cc39e9b1fb1a8dd514eb1aed29 Mon Sep 17 00:00:00 2001
From: Mark Andrews <marka@isc.org>
Date: Fri, 1 Sep 2017 11:17:59 +1000
Subject: [PATCH] 4697. [bug] Restore workaround for Microsoft
Windows TSIG hash computation bug. [RT #45854]
---
lib/dns/rdataset.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/dns/rdataset.c b/lib/dns/rdataset.c
index 1386840..e563963 100644
--- a/lib/dns/rdataset.c
+++ b/lib/dns/rdataset.c
@@ -466,6 +466,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.
--
2.9.5