Merge branch 'wpk/dnssec-test-fixes' into 'master'

dnssec: use less-or-equal when looking at SyncPublish time

See merge request isc-projects/bind9!2929
This commit is contained in:
Witold Krecicki 2020-01-21 14:00:51 +00:00
commit 78a6b2689b

View file

@ -673,7 +673,7 @@ syncpublish(dst_key_t *key, isc_stdtime_t now) {
/* If no kasp state, check timings. */
publish = false;
result = dst_key_gettime(key, DST_TIME_SYNCPUBLISH, &when);
if (result == ISC_R_SUCCESS && when < now) {
if (result == ISC_R_SUCCESS && when <= now) {
publish = true;
}
result = dst_key_gettime(key, DST_TIME_SYNCDELETE, &when);