]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
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 650e3e31c6e487c11f045d4bc51d41c6d4415492..8141ae2b252bfc458d52a5b14e6414d9b946a839 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)
 
 ######################################################################
 #