diff --git a/src/usr/local/www/vpn_ipsec_phase1.php b/src/usr/local/www/vpn_ipsec_phase1.php index aa25eeb39f..9ac695e840 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";