Commit 0da70bc5 authored by Mark Andrews's avatar Mark Andrews
Browse files

1815. [bug] nsupdate triggered a REQUIRE if the server was set

                        without also setting the zone and it encountered
                        a CNAME and was using TSIG.  [RT #13086]
parent b7b6b01a
......@@ -35,7 +35,9 @@
1816. [placeholder] rt13597
1815. [placeholder] rt13086
1815. [bug] nsupdate triggered a REQUIRE if the server was set
without also setting the zone and it encountered
a CNAME and was using TSIG. [RT #13086]
1814. [func] UNIX domain controls are now supported.
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nsupdate.c,v 1.135 2004/09/16 02:10:42 marka Exp $ */
/* $Id: nsupdate.c,v 1.136 2005/03/16 01:02:33 marka Exp $ */
#include <config.h>
......@@ -1634,6 +1634,7 @@ recvsoa(isc_task_t *task, isc_event_t *event) {
ddebug("Destroying request [%p]", request);
dns_request_destroy(&request);
dns_message_renderreset(soaquery);
dns_message_settsigkey(soaquery, NULL);
sendrequest(localaddr, &servers[ns_inuse], soaquery, &request);
isc_mem_put(mctx, reqinfo, sizeof(nsu_requestinfo_t));
isc_event_free(&event);
......@@ -1813,6 +1814,7 @@ recvsoa(isc_task_t *task, isc_event_t *event) {
dns_name_clone(&tname, name);
dns_request_destroy(&request);
dns_message_renderreset(soaquery);
dns_message_settsigkey(soaquery, NULL);
if (userserver != NULL)
sendrequest(localaddr, userserver, soaquery, &request);
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment