Diff

certs/Makefile @ 7031:89221daefae9

Merge 0.9->0.10
author Kim Alvefur <zash@zash.se>
date Wed, 23 Dec 2015 12:11:07 +0100
parent 7028:7d0ce5e6a6d3
parent 7030:b5bc9f77f096
child 7035:085a286e2873
line wrap: on
line diff
--- a/certs/Makefile	Wed Dec 23 12:10:26 2015 +0100
+++ b/certs/Makefile	Wed Dec 23 12:11:07 2015 +0100
@@ -59,5 +59,5 @@
 	sed 's,example\.com,$*,g' openssl.cnf > $@
 
 %.key:
-	openssl genrsa $(keysize) > $@
-	@chmod 400 $@
+	umask 0077 && openssl genrsa -out $@ $(keysize)
+	@chmod 400 $@ -c