Commit fdfcc172 authored by Daniel Salzman's avatar Daniel Salzman

Merge branch 'notice_ign_manual_roll' into 'master'

dnssec: log ignored manual key rollover

See merge request !966
parents c4d7d84f e916a98a
......@@ -574,6 +574,10 @@ int knot_dnssec_key_rollover(kdnssec_ctx_t *ctx, zone_sign_roll_flags_t flags,
return KNOT_EINVAL;
}
if (ctx->policy->manual) {
if ((flags & (KEY_ROLL_FORCE_KSK_ROLL | KEY_ROLL_FORCE_ZSK_ROLL))) {
log_zone_notice(ctx->zone->dname, "DNSSEC, ignoring forced key rollover "
"due to manual policy");
}
return KNOT_EOK;
}
int ret = KNOT_EOK;
......
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