Commit d57cf1fc authored by Michael Tremer's avatar Michael Tremer

writer: I forgot to initalize the country list

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 295a7774
......@@ -116,6 +116,13 @@ LOC_EXPORT int loc_writer_new(struct loc_ctx* ctx, struct loc_writer** writer,
return r;
}
// Initialize countries list
r = loc_country_list_new(ctx, &w->country_list);
if (r) {
loc_writer_unref(w);
return r;
}
// Load the private keys to sign databases
if (fkey1) {
r = parse_private_key(w, &w->private_key1, fkey1);
......
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