aboutsummaryrefslogtreecommitdiff
path: root/gmid.c
diff options
context:
space:
mode:
Diffstat (limited to 'gmid.c')
-rw-r--r--gmid.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gmid.c b/gmid.c
index 09deac2..9ba28e7 100644
--- a/gmid.c
+++ b/gmid.c
@@ -169,21 +169,6 @@ sig_handler(int sig)
(void)sig;
}
-char *
-absolutify_path(const char *path)
-{
- char *wd, *r;
-
- if (*path == '/')
- return strdup(path);
-
- wd = getcwd(NULL, 0);
- if (asprintf(&r, "%s/%s", wd, path) == -1)
- fatal("asprintf: %s", strerror(errno));
- free(wd);
- return r;
-}
-
void
gen_certificate(const char *host, const char *certpath, const char *keypath)
{