fix config dumping (-nn) handling

with the privsep rework the config dumping was unadvertitely broken,
it prints the content of the key itself.
This commit is contained in:
Omar Polo 2024-04-04 11:22:06 +00:00
parent 40ea7b163e
commit f53f5e5fe1
1 changed files with 2 additions and 2 deletions

4
gmid.c
View File

@ -605,8 +605,8 @@ main_print_conf(struct conf *conf)
TAILQ_FOREACH(h, &conf->hosts, vhosts) {
printf("\nserver \"%s\" {\n", h->domain);
printf(" cert \"%s\"\n", h->cert);
printf(" key \"%s\"\n", h->key);
printf(" cert \"%s\"\n", h->cert_path);
printf(" key \"%s\"\n", h->key_path);
/* TODO: print locations... */
printf("}\n");
}