summaryrefslogtreecommitdiffstats
path: root/lib/dnssec/signature.c
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2021-10-27 13:36:33 +0200
committerTomas Krizek <tomas.krizek@nic.cz>2021-12-21 15:02:09 +0100
commit5ec65369cbdf6a63d6280d6c2037eab8a460f7a0 (patch)
tree3f1749f800341a934e32748bb7155822cb8c5dc3 /lib/dnssec/signature.c
parentpolicy: add extended errors (diff)
downloadknot-resolver-5ec65369cbdf6a63d6280d6c2037eab8a460f7a0.tar.xz
knot-resolver-5ec65369cbdf6a63d6280d6c2037eab8a460f7a0.zip
libknot: bump dependency version to 3.0.2
Version 2.9 isn't supported anymore anyway, but 3.0.2 is needed for extended error constants.
Diffstat (limited to 'lib/dnssec/signature.c')
-rw-r--r--lib/dnssec/signature.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/dnssec/signature.c b/lib/dnssec/signature.c
index 5eba8177..6fcf3a42 100644
--- a/lib/dnssec/signature.c
+++ b/lib/dnssec/signature.c
@@ -274,11 +274,7 @@ int kr_check_signature(const knot_rdata_t *rrsig,
goto fail;
}
- ret = dnssec_sign_verify(sign_ctx,
- #if KNOT_VERSION_MAJOR >= 3
- false,
- #endif
- &signature);
+ ret = dnssec_sign_verify(sign_ctx, false, &signature);
if (ret != 0) {
ret = kr_error(EBADMSG);
goto fail;