Use openssl dhparam instead of obsolete gendh
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Mon, 20 Feb 2017 13:26:57 +0000 (14:26 +0100)
committerNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Mon, 20 Feb 2017 15:57:59 +0000 (16:57 +0100)
Use `openssl dhparam` command in raddb/certs/Makefile instead of the
obsolete (and removed in OpenSSL v1.1.0) `openssl gendh`.

raddb/certs/Makefile

index 650e3e3..8141ae2 100644 (file)
@@ -50,7 +50,7 @@ passwords.mk: server.cnf ca.cnf client.cnf
 #
 ######################################################################
 dh:
-       $(OPENSSL) gendh -out dh -2 $(DH_KEY_SIZE)
+       $(OPENSSL) dhparam -out dh -2 $(DH_KEY_SIZE)
 
 ######################################################################
 #