Commit 4c81f488 authored by Grigorii Demidov's avatar Grigorii Demidov

Merge branch 'fix-unsecured-secured' into 'master'

lib/resolve: zonecut fetching error was fixed

See merge request !205
parents 6db278b7 5ad65890
......@@ -186,6 +186,7 @@ static int ns_fetch_cut(struct kr_query *qry, const knot_dname_t *requested_name
/* It can occur that here parent query already have
* provably insecured zonecut which not in the cache yet. */
const bool is_insecured = ((qry->parent != NULL) &&
(qry->parent->flags & (QUERY_AWAIT_IPV4 | QUERY_AWAIT_IPV6)) == 0 &&
(qry->parent->flags & QUERY_DNSSEC_INSECURE) != 0);
/* Want DNSSEC if it's possible to secure this name
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