Commit d710af57 authored by Daniel Salzman's avatar Daniel Salzman

keymgr: add semantic check on the pre-active timer

parent 309fec60
......@@ -175,6 +175,9 @@ static bool _check_lower(knot_time_t a, knot_time_t b,
static int check_timers(const knot_kasp_key_timing_t *t)
{
if (t->pre_active != 0) {
check_lower(t, pre_active, publish);
}
check_lower(t, publish, active);
check_lower(t, active, retire_active);
check_lower(t, active, retire);
......
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