aboutsummaryrefslogtreecommitdiff
path: root/ge.c
diff options
context:
space:
mode:
Diffstat (limited to 'ge.c')
-rw-r--r--ge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ge.c b/ge.c
index 6cede75..d2148c6 100644
--- a/ge.c
+++ b/ge.c
@@ -100,7 +100,7 @@ load_local_cert(struct vhost *h, const char *hostname, const char *dir)
fatal("asprintf");
if (access(cert, R_OK) == -1 || access(key, R_OK) == -1)
- gen_certificate(hostname, cert, key);
+ gencert(hostname, cert, key, 1);
h->cert = tls_load_file(cert, &h->certlen, NULL);
if (h->cert == NULL)