diff --git a/CHANGES b/CHANGES index 268721af84..5c8362280b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4862. [bug] The rdata flags for RRSIG was not being properly set + when constructing a rdataslab. [RT #46978] + 4861. [bug] The isc_crc64 unit test was not endian independent. [RT #46973] diff --git a/lib/dns/rdataslab.c b/lib/dns/rdataslab.c index 1fe754e1dd..97e3259a01 100644 --- a/lib/dns/rdataslab.c +++ b/lib/dns/rdataslab.c @@ -329,7 +329,7 @@ dns_rdataslab_fromrdataset(dns_rdataset_t *rdataset, isc_mem_t *mctx, * Store the per RR meta data. */ if (rdataset->type == dns_rdatatype_rrsig) { - *rawbuf++ |= (x[i].rdata.flags & DNS_RDATA_OFFLINE) ? + *rawbuf++ = (x[i].rdata.flags & DNS_RDATA_OFFLINE) ? DNS_RDATASLAB_OFFLINE : 0; } memmove(rawbuf, x[i].rdata.data, x[i].rdata.length);