From: Matthijs Mekking Date: Thu, 2 Apr 2026 08:01:27 +0000 (+0200) Subject: Fix off by one error in dnssec-ksr sign X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc6dad585d897234cae63f3ebe2d8b962329ef35;p=thirdparty%2Fbind9.git Fix off by one error in dnssec-ksr sign If the inception time of the signature is exactly equal to the inactive time of the key, still include the signature. Otherwise there may be corner cases where signatures are omitted erroneously. --- diff --git a/bin/dnssec/dnssec-ksr.c b/bin/dnssec/dnssec-ksr.c index f76b07c3340..d2a38729090 100644 --- a/bin/dnssec/dnssec-ksr.c +++ b/bin/dnssec/dnssec-ksr.c @@ -674,7 +674,7 @@ sign_rrset(ksr_ctx_t *ksr, isc_stdtime_t inception, isc_stdtime_t expiration, if (act > inception) { continue; } - if (inact != 0 && inception >= inact) { + if (inact != 0 && inception > inact) { continue; }