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

This commit is contained in:
Ad Schellevis 2015-11-25 16:12:59 +00:00
parent 06a7ea4808
commit 10a0fd8e56

View File

@ -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>