Commit 78a6b268 authored by Witold Krecicki's avatar Witold Krecicki

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

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

See merge request !2929
parents 4a26f7d1 741bc11b
Pipeline #31447 passed with stages
in 40 minutes and 50 seconds
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment