diff --git a/src/www/vpn_ipsec_phase1.php b/src/www/vpn_ipsec_phase1.php index 1031cd54f..65ed04022 100644 --- a/src/www/vpn_ipsec_phase1.php +++ b/src/www/vpn_ipsec_phase1.php @@ -329,7 +329,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { } if (empty($pconfig['hash-algorithm'])) { - $input_errors[] = gettext('Hash algorithm selection cannot be empty.'); + $input_errors[] = gettext("At least one hashing algorithm needs to be selected."); $pconfig['hash-algorithm'] = array(); } @@ -926,8 +926,8 @@ endforeach; ?> ); foreach ($p1_halgos as $algo => $algoname) : ?> - diff --git a/src/www/vpn_ipsec_phase2.php b/src/www/vpn_ipsec_phase2.php index cd8b41da2..0bbbf78fb 100644 --- a/src/www/vpn_ipsec_phase2.php +++ b/src/www/vpn_ipsec_phase2.php @@ -337,6 +337,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { break; } } + $pconfig['hash-algorithm-option'] = array(); } } } @@ -657,13 +658,13 @@ endif; ?> - $algoname) :?> - /> - -
- +