diff options
author | June McEnroe <june@causal.agency> | 2019-11-06 16:13:08 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-06 16:13:08 -0500 |
commit | f3b13a3f1fde68181db1952781962d01ebda40cd (patch) | |
tree | d86155322443781ee3ed2bc9c6c5335868b51d74 /bounce.h | |
parent | Change license to GPLv3 (diff) | |
download | pounce-f3b13a3f1fde68181db1952781962d01ebda40cd.tar.gz pounce-f3b13a3f1fde68181db1952781962d01ebda40cd.zip |
Define one CERTBOT_PATH rather than two format strings
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bounce.h b/bounce.h index a46c7e4..37cfc7c 100644 --- a/bounce.h +++ b/bounce.h @@ -23,12 +23,8 @@ #include "compat.h" -#ifndef DEFAULT_CERT_PATH -#define DEFAULT_CERT_PATH "/usr/local/etc/letsencrypt/live/%s/fullchain.pem" -#endif - -#ifndef DEFAULT_PRIV_PATH -#define DEFAULT_PRIV_PATH "/usr/local/etc/letsencrypt/live/%s/privkey.pem" +#ifndef CERTBOT_PATH +#define CERTBOT_PATH "/usr/local/etc/letsencrypt" #endif #define ARRAY_LEN(a) (sizeof(a) / sizeof(a[0])) |