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

fix compiler error: variable size initialization

parent cf147ad5
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,8 @@ static int check_keys_validity(const knot_zone_keys_t *keys)
bool published;
bool ksk_enabled;
bool zsk_enabled;
} algorithms[MAX_ALGORITHMS] = {{ 0 }};
} algorithms[MAX_ALGORITHMS];
memset(algorithms, 0, sizeof(algorithms));
/* Make a list of used algorithms */
......
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