diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-01-11 16:36:54 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-01-11 16:37:50 +0100 |
commit | 619aa26f71cfccc8e0b8bfa9d7d66bc058a31462 (patch) | |
tree | e5ac87a57895c610ed9848a103a8f01ae84d2dc3 /usr/local/sbin | |
parent | 6bdb02d36c8a8ada1b770414f0a98c4e0db51c3f (diff) | |
download | pfsense-619aa26f71cfccc8e0b8bfa9d7d66bc058a31462.zip pfsense-619aa26f71cfccc8e0b8bfa9d7d66bc058a31462.tar.gz |
Remove debug code
Diffstat (limited to 'usr/local/sbin')
-rwxr-xr-x | usr/local/sbin/ovpn_auth_verify | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/sbin/ovpn_auth_verify b/usr/local/sbin/ovpn_auth_verify index 5f19b9e..087451f 100755 --- a/usr/local/sbin/ovpn_auth_verify +++ b/usr/local/sbin/ovpn_auth_verify @@ -1,12 +1,10 @@ #!/bin/sh -password="asdfsad +%$" if [ "$1" = "tls" ]; then RESULT=$(/usr/local/sbin/fcgicli -f /etc/inc/openvpn.tls-verify.php -d "servercn=$2&depth=$3&certdepth=$4&certsubject=$5") else # Single quoting $password breaks getting the value from the variable. password=$(echo ${password} | openssl enc -base64 | sed -e 's/=/%3D/g') - echo "(/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')" 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") fi |