]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
layer/validate: buggy rrsig qtype resolution in tests
authorMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 8 Dec 2015 13:54:48 +0000 (14:54 +0100)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 8 Dec 2015 13:54:48 +0000 (14:54 +0100)
lib/layer/validate.c

index 95044e59a25e3a07444cd65aef4d2f73a4c38d4a..6f97bb620efc84b8885fd4ad7a4a8f2fa70273e9 100644 (file)
@@ -278,10 +278,6 @@ static int update_delegation(struct kr_request *req, struct kr_query *qry, knot_
 
 static const knot_dname_t *signature_authority(knot_pkt_t *pkt)
 {
-       /* Can't find signer for RRSIGs, bail out. */
-       if (knot_pkt_qtype(pkt) == KNOT_RRTYPE_RRSIG) {
-               return NULL;
-       }
        for (knot_section_t i = KNOT_ANSWER; i <= KNOT_AUTHORITY; ++i) {
                const knot_pktsection_t *sec = knot_pkt_section(pkt, i);
                for (unsigned k = 0; k < sec->count; ++k) {