Skip to content
Snippets Groups Projects
Commit d87ce677 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

remove redundant condition

parent fd360087
No related branches found
No related tags found
1 merge request!256DNSSEC: constraint checks for KSK and ZSK
......@@ -133,7 +133,7 @@ static int check_keys_validity(const knot_zone_keys_t *keys)
algorithms[a].published = true;
// need fully enabled ZSK and KSK for each algorithm
if (key->is_public && key->is_active) {
if (key->is_active) {
if (key->is_ksk) {
algorithms[a].ksk_enabled = true;
} else {
......
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