# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1456410972 -3600
# Node ID 1c55403d06c42250771de64b2372da5fac91b266
# Parent  1c0104a56321aea1138376751e17e1c8897dd172
certs/Makefile: Add target for generating DH params

diff -r 1c0104a56321 -r 1c55403d06c4 certs/Makefile
--- a/certs/Makefile	Thu Feb 25 15:35:44 2016 +0100
+++ b/certs/Makefile	Thu Feb 25 15:36:12 2016 +0100
@@ -60,3 +60,7 @@
 %.key:
 	umask 0077 && openssl genrsa -out $@ $(keysize)
 	@chmod 400 $@ -c
+
+# Generate Diffie-Hellman parameters
+dh-%.pem:
+	openssl dhparam -out $@ $*