Commit 2db2b2e9 authored by Grigorii Demidov's avatar Grigorii Demidov Committed by Vladimír Čunát
Browse files

layer/validate: bugfix; in some circumstances KR_RANK_OMIT rank was not processed properly

parent 60b8b3dd
......@@ -503,6 +503,8 @@ static int check_validation_result(kr_layer_t *ctx, ranked_rr_array_t *arr)
} else if (kr_rank_test(entry->rank, KR_RANK_MISSING) &&
!invalid_entry) {
invalid_entry = entry;
} else if (kr_rank_test(entry->rank, KR_RANK_OMIT)) {
} else if (!kr_rank_test(entry->rank, KR_RANK_SECURE) &&
!invalid_entry) {
invalid_entry = entry;
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