Skip to content
Snippets Groups Projects
Verified Commit 301c2032 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

lib/dnssec: fix imprecise assertion

It was no longer correct after commit cc5051b4 (KeyTrap).
parent 7de52c77
No related branches found
No related tags found
No related merge requests found
Pipeline #122513 waiting for manual action
Pipeline: Knot Resolver

#122515

    ......@@ -480,7 +480,7 @@ int kr_dnskeys_trusted(kr_rrset_validation_ctx_t *vctx, const knot_rdataset_t *s
    ret = kr_svldr_rrset_with_key(keys, sigs, vctx, &key);
    svldr_key_del(&key);
    if (ret == 0 || ret == kr_error(E2BIG)) {
    kr_assert(vctx->result == 0);
    kr_assert(vctx->result == ret);
    return vctx->result;
    }
    }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment