From c876c88c2ac74255fa402c441343e8314d1fff8f Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 1 Mar 2020 19:20:23 -0500 Subject: Replace .mk files with configure script Copied and expanded from catgirl. --- bounce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bounce.c') 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 ); -- cgit 1.4.1