mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 17:50:00 -04:00
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:
parent
36acc92131
commit
bc6dad585d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue