diff options
author | June McEnroe <june@causal.agency> | 2020-03-01 19:20:23 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-01 21:14:52 -0500 |
commit | c876c88c2ac74255fa402c441343e8314d1fff8f (patch) | |
tree | e6420b0a64c4e8ef9709d129b3ce2a11b484602a /bounce.c | |
parent | Advertise STS policy (diff) | |
download | pounce-c876c88c2ac74255fa402c441343e8314d1fff8f.tar.gz pounce-c876c88c2ac74255fa402c441343e8314d1fff8f.zip |
Replace .mk files with configure script
Copied and expanded from catgirl.
Diffstat (limited to '')
-rw-r--r-- | bounce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bounce.c b/bounce.c index efcc59d..604830a 100644 --- a/bounce.c +++ b/bounce.c @@ -58,7 +58,7 @@ static void genKey(const char *path) { char subj[256]; snprintf(subj, sizeof(subj), "/CN=%.*s", (int)strcspn(name, "."), name); execlp( - LIBRESSL_BIN_PREFIX "openssl", "openssl", "req", + OPENSSL_BIN, "openssl", "req", "-x509", "-new", "-newkey", "rsa:4096", "-sha256", "-days", "3650", "-nodes", "-subj", subj, "-keyout", path, NULL @@ -97,7 +97,7 @@ static void genCert(const char *path, const char *ca) { close(rw[1]); redir(STDIN_FILENO, rw[0]); execlp( - LIBRESSL_BIN_PREFIX "openssl", "openssl", "x509", + OPENSSL_BIN, "openssl", "x509", "-CA", ca, "-CAcreateserial", "-days", "3650", NULL ); |