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-Tag: stable~50^2~2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=ad45cdd3830c405ac7ed20bf2f628c7fc31940ac;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. (cherry picked from commit bc6dad585d897234cae63f3ebe2d8b962329ef35) --- diff --git a/bin/dnssec/dnssec-ksr.c b/bin/dnssec/dnssec-ksr.c index 01df9843cc2..fbad0b47b94 100644 --- a/bin/dnssec/dnssec-ksr.c +++ b/bin/dnssec/dnssec-ksr.c @@ -705,7 +705,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; }