diff options
author | Omar Polo <op@omarpolo.com> | 2024-04-04 11:22:06 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-04-04 11:22:06 +0000 |
commit | f53f5e5fe13af9ae5b55eda34635e61a5c11b538 (patch) | |
tree | 65bf8b9e6be9c66c4789fc368498fd2c25ff5640 | |
parent | 40ea7b163e15d70788aa7a8189f9000109a7b931 (diff) |
fix config dumping (-nn) handling
with the privsep rework the config dumping was unadvertitely broken,
it prints the content of the key itself.
-rw-r--r-- | gmid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); } |