diff options
author | Ermal <eri@pfsense.org> | 2014-04-15 21:11:53 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-04-15 21:11:53 +0000 |
commit | a15450e735e5754be0f5f62b96e5c7143d52169b (patch) | |
tree | 14f93ec84dcf7ff69bdb40b816b49450dea9729a /usr/local | |
parent | 8a84b3abbafd92c69bf1dc2750d24bf34b58648f (diff) | |
download | pfsense-a15450e735e5754be0f5f62b96e5c7143d52169b.zip pfsense-a15450e735e5754be0f5f62b96e5c7143d52169b.tar.gz |
Correct missing parenthesis. Reported-by: https://forum.pfsense.org/index.php?topic=75120.0
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/sbin/ovpn_auth_verify | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/ovpn_auth_verify b/usr/local/sbin/ovpn_auth_verify index 4cf7f69..ddfd844 100755 --- a/usr/local/sbin/ovpn_auth_verify +++ b/usr/local/sbin/ovpn_auth_verify @@ -1,7 +1,7 @@ #!/bin/sh if [ "$1" = "tls" ]; then - RESULT = $(/usr/local/sbin/fcgicli -f /etc/inc/openvpn.tls-verify.php -d "servercn=$2&depth=$3&certsubject=$4&certdepth=$5" + RESULT = $(/usr/local/sbin/fcgicli -f /etc/inc/openvpn.tls-verify.php -d "servercn=$2&depth=$3&certsubject=$4&certdepth=$5") else password = $(echo '$password' | /usr/bin/sed 's/&/%26/g') RESULT = $(/usr/local/sbin/fcgicli -f /etc/inc/openvpn.auth-user.php -d "username=$username&password=$password&cn=$common_name&strictcn=$3&authcfg=$2&modeid=$4") |