Skip to content
Snippets Groups Projects
Commit 8d36e2e2 authored by Libor Peltan's avatar Libor Peltan
Browse files

dnssec: skip keys in invalid state when considering rollover

the assert is wrong anyway, because the user can create such keys via
keymgr
this is very needed for arranging manually-scheduled algorithm
rollover !!
parent 3e66e9ee
No related branches found
No related tags found
1 merge request!748dnssec: skip keys in invalid state when considering rollover
Pipeline #
......@@ -271,7 +271,7 @@ static roll_action next_action(kdnssec_ctx_t *ctx)
restype = REMOVE;
break;
default:
assert(0);
continue;
}
} else {
switch (get_key_state(key, ctx->now)) {
......@@ -294,7 +294,7 @@ static roll_action next_action(kdnssec_ctx_t *ctx)
break;
case DNSSEC_KEY_STATE_READY:
default:
assert(0);
continue;
}
}
if (knot_time_cmp(keytime, res.time) < 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment