Fill cfg_crt_node with a filename and linenum so the post_section
callback can use it to emit errors.
This way the errors are emitted with the right filename and linenum
where ssl-f-use is used instead of (null):0
memprintf(err, "not enough memory!");
goto error;
}
+ cfg_crt_node->filename = strdup(file);
+ if (!cfg_crt_node->filename) {
+ memprintf(err, "not enough memory!");
+ goto error;
+ }
+ cfg_crt_node->linenum = linenum;
+
ckch_conf = calloc(1, sizeof *ckch_conf);
if (!ckch_conf) {