From a15450e735e5754be0f5f62b96e5c7143d52169b Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 15 Apr 2014 21:11:53 +0000 Subject: Correct missing parenthesis. Reported-by: https://forum.pfsense.org/index.php?topic=75120.0 --- usr/local/sbin/ovpn_auth_verify | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') 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") -- cgit v1.1