summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/vpn_ipsec_phase1.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase1.php b/src/usr/local/www/vpn_ipsec_phase1.php
index aa25eeb..9ac695e 100644
--- a/src/usr/local/www/vpn_ipsec_phase1.php
+++ b/src/usr/local/www/vpn_ipsec_phase1.php
@@ -245,12 +245,13 @@ if ($_POST) {
$reqdfieldsn = array(gettext("Pre-Shared Key"));
$validate_pskey = true;
break;
- case "hybrid_rsa_server":
case "xauth_rsa_server":
case "rsasig":
$reqdfields = explode(" ", "caref certref");
$reqdfieldsn = array(gettext("Certificate Authority"), gettext("Certificate"));
break;
+ default:
+ /* Other types do not use this validation mechanism. */
}
if (!$pconfig['mobile']) {
$reqdfields[] = "remotegw";
OpenPOWER on IntegriCloud