summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-07-13 01:25:02 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-07-13 01:25:02 +0000
commitcc72a7d8530bdabdc93b9c4fe92ff16da8d68950 (patch)
tree671dcd4738fad2587ae8ff56f1123742f756fc39 /etc/inc/config.inc
parentfaa6dd5be6c64ce11fd35579f6094d98ceddede0 (diff)
downloadpfsense-cc72a7d8530bdabdc93b9c4fe92ff16da8d68950.zip
pfsense-cc72a7d8530bdabdc93b9c4fe92ff16da8d68950.tar.gz
Correct a problem with the IPsec upgrade code. This was related to the
key lengths being set to auto in phase1 which is not currently supported. Instead, set the key lengths to the default value.
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 121a659..1be6bcc 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1321,13 +1321,13 @@ function convert_config() {
$ph1alg = array( 'name' => '3des' );
break;
case "blowfish":
- $ph1alg = array( 'name' => 'blowfish', 'keylen' => 'auto' );
+ $ph1alg = array( 'name' => 'blowfish', 'keylen' => '128' );
break;
case "cast128":
$ph1alg = array( 'name' => 'cast128' );
break;
case "rijndael":
- $ph1alg = array( 'name' => 'aes', 'keylen' => 'auto' );
+ $ph1alg = array( 'name' => 'aes', 'keylen' => '128' );
break;
case "rijndael 256":
$ph1alg = array( 'name' => 'aes', 'keylen' => '256' );
OpenPOWER on IntegriCloud