From 404e3e4738e97d5dff48fab1e76839e963cb16a6 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Tue, 4 Apr 2000 21:13:45 +0000 Subject: [PATCH] SIGs weren't returned in the answer section when the query resulted in a fetch. --- CHANGES | 3 +++ lib/dns/resolver.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index 9737b9746d..492507c777 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ + 22. [bug] SIGs weren't returned in the answer section when + the query resulted in a fetch. + 21. [port] Look at STD_CINCLUDES after CINCLUDES during compilation, so additional system include directories can be searched but header files in the bind9 source diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 68720ccad5..da23a9f05e 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -2263,6 +2263,8 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, isc_stdtime_t now) { */ if (ANSWER(rdataset)) addedrdataset = ardataset; + else if (ANSWERSIG(rdataset)) + addedrdataset = asigrdataset; else addedrdataset = NULL; if (CHAINING(rdataset)) {