aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-08 19:34:49 +0000
committerOmar Polo <op@omarpolo.com>2023-06-08 19:34:49 +0000
commit1c6967b33a31b4c24881a72dc0ab95286ece8f62 (patch)
treeef5ccefb52c8b9cc3981b0a4302356a2dd0b1f18 /gmid.h
parent49bd46a150c80802c28606b878f38ec838dc6df0 (diff)
keep cert/key/ocsp path as strings and don't send them via imsg
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gmid.h b/gmid.h
index de728d3..ed72c5f 100644
--- a/gmid.h
+++ b/gmid.h
@@ -167,9 +167,9 @@ struct alist {
extern TAILQ_HEAD(vhosthead, vhost) hosts;
struct vhost {
char domain[HOST_NAME_MAX + 1];
- char cert_path[PATH_MAX];
- char key_path[PATH_MAX];
- char ocsp_path[PATH_MAX];
+ char *cert_path;
+ char *key_path;
+ char *ocsp_path;
uint8_t *cert;
size_t certlen;