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

fix compatibility with old compilers

parent e872962e
Branches
Tags
No related merge requests found
...@@ -137,8 +137,9 @@ static int prepare_and_check_keys(const knot_dname_t *zone_name, ...@@ -137,8 +137,9 @@ static int prepare_and_check_keys(const knot_dname_t *zone_name,
assert(zone_name); assert(zone_name);
assert(keys); assert(keys);
static const size_t max_algorithms = KNOT_DNSSEC_ALG_ECDSAP384SHA384 + 1; const size_t max_algorithms = KNOT_DNSSEC_ALG_ECDSAP384SHA384 + 1;
algorithm_usage_t usage[max_algorithms] = {{0}}; algorithm_usage_t usage[max_algorithms];
memset(usage, 0, max_algorithms * sizeof(algorithm_usage_t));
// count available keys // count available keys
......
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