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

lib/dnssec: fix build against libdnssec 3.0

It hasn't been released yet, but this patch fixes build against
current Knot master already.
parent 45dc630f
Branches
Tags
1 merge request!1053lib/dnssec: fix build against libdnssec 3.0
Pipeline #68130 canceled with stages
in 23 seconds
......@@ -7,6 +7,7 @@ Improvements
- cache: add percentage usage to cache.stats() (!1025)
- cache: add number of cache entries to cache.stats() (!1028)
- aarch64 support again, as some systems still didn't work (!1033)
- support building against Knot DNS 3.0 (!1053)
Bugfixes
--------
......
......@@ -282,7 +282,12 @@ int kr_check_signature(const knot_rdata_t *rrsig,
goto fail;
}
if (dnssec_sign_verify(sign_ctx, &signature) != 0) {
ret = dnssec_sign_verify(sign_ctx,
#if KNOT_VERSION_MAJOR >= 3
false,
#endif
&signature);
if (ret != 0) {
ret = kr_error(EBADMSG);
goto fail;
}
......
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