Commit 10a0fd8e authored by Ad Schellevis's avatar Ad Schellevis

(legacy) ipsec phase1 algo tag select, closes https://github.com/opnsense/core/issues/350

parent 06a7ea48
...@@ -434,9 +434,9 @@ include("head.inc"); ...@@ -434,9 +434,9 @@ include("head.inc");
<?php <?php
/* determine if we should init the key length */ /* determine if we should init the key length */
$keyset = ''; $keyset = '';
if (isset($pconfig['ealgo']['keylen'])) { if (isset($pconfig['encryption-algorithm']['keylen'])) {
if (is_numeric($pconfig['ealgo']['keylen'])) { if (is_numeric($pconfig['encryption-algorithm']['keylen'])) {
$keyset = $pconfig['ealgo']['keylen']; $keyset = $pconfig['encryption-algorithm']['keylen'];
} }
} }
?> ?>
...@@ -891,6 +891,7 @@ endforeach; ?> ...@@ -891,6 +891,7 @@ endforeach; ?>
endforeach; endforeach;
?> ?>
</select> </select>
<select name="ealgo_keylen" width="30" class="formselect"> <select name="ealgo_keylen" width="30" class="formselect">
</select> </select>
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment