mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
(legacy) forgot empty key-len in vpn_ipsec_phase1.php
This commit is contained in:
parent
c26cb800e2
commit
dba37bcfcd
@ -351,7 +351,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$pconfig['encryption-algorithm'] = array();
|
||||
}
|
||||
$pconfig['encryption-algorithm']['name'] = $pconfig['ealgo'];
|
||||
$pconfig['encryption-algorithm']['keylen'] = $pconfig['ealgo_keylen'];
|
||||
if (!empty($pconfig['ealgo_keylen'])) {
|
||||
$pconfig['encryption-algorithm']['keylen'] = $pconfig['ealgo_keylen'];
|
||||
}
|
||||
|
||||
if (count($input_errors) == 0) {
|
||||
$copy_fields = "ikeid,iketype,interface,mode,protocol,myid_type,myid_data
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user