From 9cffff30d2d60a038ffc9e86285cad6c6c32df93 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 3 Nov 2016 23:51:40 +0100 Subject: certs/Makefile: Remove -c flag to chmod, which appears to be a GNUism ... again (thanks waqas) --- certs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'certs/Makefile') diff --git a/certs/Makefile b/certs/Makefile index c709ff91..587fadc6 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -27,4 +27,4 @@ keysize=2048 %.key: umask 0077 && openssl genrsa -out $@ $(keysize) - @chmod 400 $@ -c + @chmod 400 $@ -- cgit v1.2.3 From 3b7519cf785906af026f5d50f427f6fd240cf48b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 3 Nov 2016 23:56:17 +0100 Subject: certs/Makefile: Remove more -c flags --- certs/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'certs/Makefile') diff --git a/certs/Makefile b/certs/Makefile index 6a8b140f..fd4a2932 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -22,7 +22,7 @@ keysize=2048 umask 0077 && touch $*.key openssl req -new -newkey rsa:$(keysize) -nodes -keyout $*.key \ -sha256 -utf8 -config $^ -out $@ - @chmod 400 $*.key -c + @chmod 400 $*.key %.csr: %.key openssl req -new -key $^ -utf8 -subj /CN=$* -out $@ @@ -31,7 +31,7 @@ keysize=2048 umask 0077 && touch $*.key openssl req -new -newkey rsa:$(keysize) -nodes -keyout $*.key \ -utf8 -subj /CN=$* -out $@ - @chmod 400 $*.key -c + @chmod 400 $*.key # Self signed %.crt: %.cnf %.key @@ -42,7 +42,7 @@ keysize=2048 umask 0077 && touch $*.key openssl req -new -x509 -newkey rsa:$(keysize) -nodes -keyout $*.key \ -days 365 -sha256 -utf8 -config $(firstword $^) -out $@ - @chmod 400 $*.key -c + @chmod 400 $*.key %.crt: %.key openssl req -new -x509 -key $^ -days 365 -sha256 -utf8 -subj /CN=$* -out $@ @@ -51,7 +51,7 @@ keysize=2048 umask 0077 && touch $*.key openssl req -new -x509 -newkey rsa:$(keysize) -nodes -keyout $*.key \ -days 365 -sha256 -out $@ -utf8 -subj /CN=$* - @chmod 400 $*.key -c + @chmod 400 $*.key # Generate a config from the example %.cnf: -- cgit v1.2.3