summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_phase1.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-11 13:36:36 -0400
committerjim-p <jimp@pfsense.org>2010-10-11 13:36:36 -0400
commit0a7c9c8e77ad3a37c875d0acc5b2cab382f77b31 (patch)
treef891d7b4e547b737f28b67c1c3165d47b6e50595 /usr/local/www/vpn_ipsec_phase1.php
parent996422349cb5f0d95be1d555cd413b75b322804f (diff)
downloadpfsense-0a7c9c8e77ad3a37c875d0acc5b2cab382f77b31.zip
pfsense-0a7c9c8e77ad3a37c875d0acc5b2cab382f77b31.tar.gz
Fixup comments a little.
Diffstat (limited to 'usr/local/www/vpn_ipsec_phase1.php')
-rw-r--r--usr/local/www/vpn_ipsec_phase1.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php
index 7f7439d..25c6f4f 100644
--- a/usr/local/www/vpn_ipsec_phase1.php
+++ b/usr/local/www/vpn_ipsec_phase1.php
@@ -140,8 +140,11 @@ if ($_POST) {
$method = $pconfig['authentication_method'];
// Only require PSK here for normal PSK tunnels (not mobile) or xauth.
+ // For RSA methods, require the CA/Cert.
switch ($method) {
case "pre_shared_key":
+ // If this is a mobile PSK tunnel the user PSKs go on
+ // the PSK tab, not here, so skip the check.
if ($pconfig['mobile'])
break;
case "xauth_psk_server":
OpenPOWER on IntegriCloud