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.
This commit is contained in:
Matthijs Mekking 2026-04-02 10:01:27 +02:00
parent 36acc92131
commit bc6dad585d

View file

@ -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;
}