Commit 1c371c1d authored by Mark Andrews's avatar Mark Andrews

fixup! dnssec: do not publish CDS records when -Psync is in the future

parent d7c2299a
Pipeline #31492 failed with stages
in 15 minutes and 36 seconds
......@@ -666,7 +666,7 @@ syncpublish(dst_key_t *key, isc_stdtime_t now) {
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