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");
<?php
/* determine if we should init the key length */
$keyset = '';
if (isset($pconfig['ealgo']['keylen'])) {
if (is_numeric($pconfig['ealgo']['keylen'])) {
$keyset = $pconfig['ealgo']['keylen'];
if (isset($pconfig['encryption-algorithm']['keylen'])) {
if (is_numeric($pconfig['encryption-algorithm']['keylen'])) {
$keyset = $pconfig['encryption-algorithm']['keylen'];
}
}
?>
......@@ -891,6 +891,7 @@ endforeach; ?>
endforeach;
?>
</select>
<select name="ealgo_keylen" width="30" class="formselect">
</select>
</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