summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-09-08 15:50:51 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-09-08 15:50:51 +0000
commit035e4289f5e51029e6e62ab8ad6fcf05cb9dda37 (patch)
tree784849fdcd47ec71bae041a7d626c2c94c54a68d /etc/inc
parentc67dd94ea63748f7967d43e12cd9792577596904 (diff)
downloadpfsense-035e4289f5e51029e6e62ab8ad6fcf05cb9dda37.zip
pfsense-035e4289f5e51029e6e62ab8ad6fcf05cb9dda37.tar.gz
Revert the dh parameters generation back to 1024 bits. There were several
complaints that 2048 bit parameters took too long to generate.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/openvpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 2818450..51f9f85 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -598,7 +598,7 @@ function openvpn_resync_all() {
if (!$config['openvpn']['dh-parameters']) {
echo "Configuring OpenVPN Parameters ...\n";
- $dh_parameters = openvpn_create_dhparams(2048);
+ $dh_parameters = openvpn_create_dhparams(1024);
$dh_parameters = base64_encode($dh_parameters);
$config['openvpn']['dh-parameters'] = $dh_parameters;
write_config("OpenVPN DH parameters");
OpenPOWER on IntegriCloud