From f31289a8acc233e8a92029dcfca0eb07ac11e39b Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Tue, 29 Aug 2023 09:24:14 +0000 Subject: gemexp: change the naming scheme for the certificates Using what the manpage advertised. The regress adaptations will follow. The directory will also change (and the key type too.) --- ge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ge.c') diff --git a/ge.c b/ge.c index 75d81b2..36fefea 100644 --- a/ge.c +++ b/ge.c @@ -104,9 +104,9 @@ load_local_cert(struct vhost *h, const char *hostname, const char *dir) { char *cert, *key; - if (asprintf(&cert, "%s/%s.cert.pem", dir, hostname) == -1) + if (asprintf(&cert, "%s/%s.pem", dir, hostname) == -1) fatal("asprintf"); - if (asprintf(&key, "%s/%s.key.pem", dir, hostname) == -1) + if (asprintf(&key, "%s/%s.key", dir, hostname) == -1) fatal("asprintf"); if (access(cert, R_OK) == -1 || access(key, R_OK) == -1) -- cgit v1.2.3