]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
and error
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 10 Nov 2009 08:15:08 +0000 (08:15 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 10 Nov 2009 08:15:08 +0000 (08:15 +0000)
git-svn-id: file:///svn/unbound/trunk@1894 be551aaa-1e26-0410-a405-d3ace91eadb9

validator/validator.c

index f18166e905057b77b2b8efe9691223eb088174e2..510a72c0584805c07ecd79dc0bcf8c509807c528 100644 (file)
@@ -1390,9 +1390,7 @@ processFindKey(struct module_qstate* qstate, struct val_qstate* vq, int id)
                        free(err);
                }
                /* and error */
-               vq->chase_reply->security = sec_status_bogus;
-               vq->state = VAL_FINISHED_STATE;
-               return 1;
+               return val_error(qstate, id);
        }
 
        target_key_name = vq->signer_name;