aboutsummaryrefslogtreecommitdiff
path: root/gmid.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-28 14:21:57 +0000
committerOmar Polo <op@omarpolo.com>2021-01-28 14:21:57 +0000
commitef0f2ae88ceef043eff03d0b4560f76df607eac7 (patch)
tree3ec3ca149870f7304c6aed438867b552ed917141 /gmid.c
parent8904fa0e64ec12b5ca6f07f39c2d990bc557d701 (diff)
remove unused function
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)
{